on 10-17-2005 12:01 PM
Hi all,
I am getting the above error when I was trying the Getting started with JDO example in NDS help. I am getting this error after the run Ant on biuld.xml i.e. while enhancing the class files. I have added the logging.jar in Build path.
The complete stack trace is as below:
enhance.Employee:
[java] java.lang.NoClassDefFoundError: com/sap/tc/logging/LogController
[java] at com.sap.jdo.common.model.jdo.JDOModelFactoryImpl.createJDOModel(JDOModelFactoryImpl.java:66)
[java] at com.sap.jdo.enhancer.meta.model.EnhancerMetaDataJDOModelImpl.<init>(EnhancerMetaDataJDOModelImpl.java:64)
[java] at com.sap.jdo.enhancer.meta.model.EnhancerMetaDataJDOModelImpl.<init>(EnhancerMetaDataJDOModelImpl.java:85)
[java] at com.sap.jdo.enhancer.Main.initEnhancerMetaData(Main.java:446)
[java] at com.sap.jdo.enhancer.Main.createEnhancer(Main.java:461)
[java] at com.sap.jdo.enhancer.Main.process(Main.java:152)
[java] at com.sap.jdo.enhancer.Main.main(Main.java:117)
[java] Exception in thread "main"
[java] BUILD FAILED: file:C:/Workspace/JDOWebModuleProject/build.xml:36: Java returned: 1
Any help will be appreciated.
Regards,
Jaydeep
Hi Jaydeep,
you have to add the "$"-entry in the classpath-property too. it is only added in the classpath.check-property in JDO-examle.
Regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
the class LogController is not found at run time. If you are using a webdynpro project add the jar in the lib folder using the navigator. this would ship your files needed at runtime.
regards
vln
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.