Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Sun JDO Implementation jdo-spi problem  RSS feed

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

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 (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 illegal element source path: C:\kodo-jdo-3.3.4\samples\swing\petshop\Test\E
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
Boost this thread!