cancel
Showing results for 
Search instead for 
Did you mean: 

JDO Enhancer and Checker

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

Hi Flo,

Does the tssap property in your build.xml point to the correct installation directory of the SAP NetWeaver Developer Studio?

HTH!

\-- Vladimir

P.S.: Please read the [Rules|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], in particular regarding cross-posting.

Former Member
0 Kudos

Hi,

I am sorry of the cross posting. Actually it was because I am desperate of this situation. The tssap property is pointing to the correct path.

Regards

Flo

0 Kudos

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

Answers (0)