This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in building sample JDO application using eclipseJDO and eclipseUML

 
Ruban Silvester
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
When i tried to build a sample JDO application using eclipseJDO and eclipseUML, i get the following error. I have model package which consists of classes Person, Employee,Company and Project. I used the below tutorial to build the sample application http://www.tutorial-omondo.com/jdo/
Can anyone please let me know the reasons for the below error.
Thanx & Regards
Ruban
org.jpox.model.exceptions.XMLMetaDataException: Error in file:/E:/eclipse/workspace/Company/bin/model/package.jdo : Linkage class model. not found, referenced by model.Company
NestedThrowables:
java.lang.ClassNotFoundException: model.
at org.jpox.model.MetaData.getReferencedType(MetaData.java:155)
at org.jpox.model.CollectionMetaData.<init>(CollectionMetaData.java:44)
at org.jpox.model.FieldMetaData.<init>(FieldMetaData.java:174)
at org.jpox.model.ClassMetaData.loadFieldElements(ClassMetaData.java:586)
at org.jpox.model.ClassMetaData.loadClassElement(ClassMetaData.java:533)
at org.jpox.model.ClassMetaData.loadFrom(ClassMetaData.java:681)
at org.jpox.model.ClassMetaData.forClass(ClassMetaData.java:303)
at org.jpox.AbstractPersistenceManager.isPersistenceCapable(AbstractPersistenceManager.java:233)
at org.jpox.AbstractPersistenceManager.assertPersistenceCapable(AbstractPersistenceManager.java:256)
at org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:660)
at org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:733)
at model.CreateCompany.main(CreateCompany.java:37)
Caused by: java.lang.ClassNotFoundException: model.
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.jpox.model.MetaData.getReferencedType(MetaData.java:151)
... 11 more
NestedThrowablesStackTrace:
java.lang.ClassNotFoundException: model.
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.jpox.model.MetaData.getReferencedType(MetaData.java:151)
at org.jpox.model.CollectionMetaData.<init>(CollectionMetaData.java:44)
at org.jpox.model.FieldMetaData.<init>(FieldMetaData.java:174)
at org.jpox.model.ClassMetaData.loadFieldElements(ClassMetaData.java:586)
at org.jpox.model.ClassMetaData.loadClassElement(ClassMetaData.java:533)
at org.jpox.model.ClassMetaData.loadFrom(ClassMetaData.java:681)
at org.jpox.model.ClassMetaData.forClass(ClassMetaData.java:303)
at org.jpox.AbstractPersistenceManager.isPersistenceCapable(AbstractPersistenceManager.java:233)
at org.jpox.AbstractPersistenceManager.assertPersistenceCapable(AbstractPersistenceManager.java:256)
at org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:660)
at org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:733)
at model.CreateCompany.main(CreateCompany.java:37)
Exception in thread "main"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic