Translate

Wednesday, February 29, 2012

Java - NoClassDefFoundError

Usually when you get an error telling you that a class cannot be found it really means that the class cannot be found. In my case I received this error because I was trying to run a Tomcat app from within Eclipse and the project I was running is referencing another project:

The error message said:
    java.lang.NoClassDefFoundError: Lcom/dataSpace/dataRecord/TableRecord;

I new that the class, TableRecord, is in the referenced project. To fix the problem I just had to add the refernced project to the DevLoader:

No comments:

Post a Comment

Thank you for commenting!