• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sun JDO Implementation jdo-spi problem

 
Pawanpreet Singh
Ranch Hand
Posts: 264
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All,
I am working on article given by sun. The link for this article is give below
http://java.sun.com/developer/technicalArticles/J2SE/jdo/index.html.

The problem is that when i want to enhance it using below command, i get compile time error. Can any body help me. I am using a class Employee.java (Persistence) and one jdo file Employee.jdo.

C:\kodo-jdo-3.3.4\samples\swing\petshop\Test>java com.sun.jdori.enhancer.Main -d enhanced -s Emp
loyee.jdo Employee.class
Cannot initialize resource locator for classes: illegal element source path: C:\kodo-jdo-3.3.4\s
amples\swing\petshop\Test\Employee.jdo

java.io.IOException: illegal element source path: C:\kodo-jdo-3.3.4\samples\swing\petshop\Test\E
mployee.jdo
at com.sun.jdori.enhancer.util.PathResourceLocator.<init>(Unknown Source)
at com.sun.jdori.enhancer.Main.initClassLocator(Unknown Source)
at com.sun.jdori.enhancer.Main.createEnhancer(Unknown Source)
at com.sun.jdori.enhancer.Main.process(Unknown Source)
at com.sun.jdori.enhancer.Main.main(Unknown Source)
aborted with errors.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic