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|]

In the chapter ["Running the JDO Enhancer and Checker Tools"|] i get following stacktrace by running the ant script.

[java] java.lang.NoClassDefFoundError: com/sap/jdo/enhancer/Main
        [java] Caused by: java.lang.ClassNotFoundException:
        [java] 	at$
        [java] 	at Method)
        [java] 	at
        [java] 	at java.lang.ClassLoader.loadClass(
        [java] 	at sun.misc.Launcher$AppClassLoader.loadClass(
        [java] 	at java.lang.ClassLoader.loadClass(
        [java] 	at java.lang.ClassLoader.loadClassInternal(
        [java] Exception in thread "main"

Has anyone any idea why I get this ?



Former Member

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.



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