Translate

Showing posts with label Eclipse. Show all posts
Showing posts with label Eclipse. Show all posts

Saturday, August 30, 2014

Eclipse Android apk Maven Build Error

Got the "Project build error: Unknown packaging: apk" error. Fixed by adding the extensions option to pom.xml file.

<extensions>true</extensions>
<packaging>apk</packaging>

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: