dcsimg
java.lang.NoClassDefFoundError
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   David_Cunningham
Posted On:   Tuesday, October 30, 2007 08:01 AM

I keep getting this java.lang.NoClassDefFoundError but I can't see why. the compiled class and jar exist all externals jars are referenced by the classpath is there anything I have missed? Buildfile: C:subversion1com.propylon.core.OpmlProcessor uild.xml compile: [javac] Compiling 1 source file to C:subversion1com.propylon.core.OpmlProcessor inclasses [javac] Note: C:subversion1com.propylon.core.OpmlProcessorsrccompropyloncoreOpmlProcessorOpmlProcessor.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. jar: [jar] Building jar: C:subversion1com.propylon.core.OpmlProcessor injarOpmlProcessor.ja   More>>

I keep getting this java.lang.NoClassDefFoundError but I can't see why.

the compiled class and jar exist
all externals jars are referenced by the classpath

is there anything I have missed?


Buildfile: C:subversion1com.propylon.core.OpmlProcessor uild.xml
compile:
[javac] Compiling 1 source file to C:subversion1com.propylon.core.OpmlProcessor inclasses
[javac] Note: C:subversion1com.propylon.core.OpmlProcessorsrccompropyloncoreOpmlProcessorOpmlProcessor.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
jar:
[jar] Building jar: C:subversion1com.propylon.core.OpmlProcessor injarOpmlProcessor.jar
run:
[java] java.lang.NoClassDefFoundError: OpmlProcessor
[java] Exception in thread "main"
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 1 second



here is my script



















































Thank you for your time    <<Less

Re: java.lang.NoClassDefFoundError

Posted By:   Anonymous  
Posted On:   Friday, November 2, 2007 04:17 AM

please format code using
 tags otherwise it is too difficult to read
About | Sitemap | Contact