 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Deepak Nayal Guest
|
Posted: Wed Feb 04, 2004 8:11 pm Post subject: Problem with Sun JDO Implementation. |
|
|
Hi All
I am using the Sun Implementation of JDO using the examples from the
following link
http://www.onjava.com/onjava/2002/02/06/examples/JDO.zip
When I use the following command an exception comes up :-
java com.sun.jdori.enhancer.Main -d db -s .
person.jdo addressbook.PersonPersist
=================
Error while enhancing: JDO ENHANCER: At least one error occurred while
enhancing
input class for Transparent Persistence; detailed message(s): nested
exception:
com.sun.jdori.model.ModelFatalException: Error during loading of class
'address
book.PersonPersist': java.lang.NoClassDefFoundError:
Ljavax/jdo/PersistenceManag
erFactory;.
com.sun.jdori.enhancer.EnhancerUserException: JDO ENHANCER: At least one
error o
ccurred while enhancing input class for Transparent Persistence;
detailed messag
e(s): nested exception: com.sun.jdori.model.ModelFatalException: Error
during lo
ading of class 'addressbook.PersonPersist':
java.lang.NoClassDefFoundError: Ljav
ax/jdo/PersistenceManagerFactory;.
at
com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile(Unknown Sourc
e)
at com.sun.jdori.enhancer.Main.enhanceClassFile(Unknown Source)
at com.sun.jdori.enhancer.Main.enhanceInputFiles(Unknown Source)
at com.sun.jdori.enhancer.Main.process(Unknown Source)
at com.sun.jdori.enhancer.Main.main(Unknown Source)
aborted with errors.
=================
Can any please let me know if I am doing anything wrong ?
Regards
Deepak Nayal
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|