Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

JDO Enhancer and Checker

Hi experts,

I have made the SAP tutorial: "Getting startet with JDO" [link|http://help.sap.com/saphelp_nw04/helpdata/en/ce/8974e482a54bdfb1e23f5082328428/frameset.htm]

In the chapter ["Running the JDO Enhancer and Checker Tools"|http://help.sap.com/saphelp_nw04/helpdata/en/26/904973620d4fcbae347bf6df3b2f77/frameset.htm] i get following stacktrace by running the ant script.

[java] java.lang.NoClassDefFoundError: com/sap/jdo/enhancer/Main
        [java] Caused by: java.lang.ClassNotFoundException: com.sap.jdo.enhancer.Main
        [java] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        [java] 	at java.security.AccessController.doPrivileged(Native Method)
        [java] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        [java] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
        [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        [java] 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        [java] Exception in thread "main"

Has anyone any idea why I get this ?

Regards

Flo

Former Member
replied

Hi Florian,

you can run ant with the option -verbose (or -debug) to see the value of your classpath, the main class should

be found in sapjdoutil.jar if everything is ok. Maybe you can check this by looking at the classpath and jar-file.

regards

-Andreas

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question