![]() |
![]() |
|
| Index | Recent Threads | Unanswered Threads | Who's Online | Help |
|
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 1
|
|
| Author |
|
|
Newbie Joined: Feb 16, 2009 Post Count: 7 Status: Offline |
I just got a fresh copy of the datanucleus-sample from the web site ,added the needed jars and I get an unexpected warning. You can see my classpath in the log, all the needed jar are present. This is happening on both Linux, OSX and Windows. I am using ant, and calling the target 'enhance' to get this error. The package.jdo from sourceforge was not altered [enhancer] DataNucleus Enhancer (version 1.1.0) : Enhancement of classes [enhancer] [enhancer] DataNucleus Enhancer : Classpath [enhancer] >> /home/leconcombre/downloads/datanucleus-samples-jdo-tutorial-1.0.0/target/classes [enhancer] >> /home/leconcombre/downloads/datanucleus-samples-jdo-tutorial-1.0.0/lib/com.springsource.org.objectweb.asm-3.1.0.jar [enhancer] >> /home/leconcombre/downloads/datanucleus-samples-jdo-tutorial-1.0.0/lib/com.springsource.org.objectweb.asm.commons-3.1.0.jar [enhancer] >> /home/leconcombre/downloads/datanucleus-samples-jdo-tutorial-1.0.0/lib/datanucleus-core-1.1.0.jar [enhancer] >> /home/leconcombre/downloads/datanucleus-samples-jdo-tutorial-1.0.0/lib/datanucleus-enhancer-1.1.0.jar [enhancer] >> /home/leconcombre/downloads/datanucleus-samples-jdo-tutorial-1.0.0/lib/jdo2-api-2.3-SNAPSHOT.jar [enhancer] >> /home/leconcombre/downloads/datanucleus-samples-jdo-tutorial-1.0.0 [enhancer] [enhancer] 26-Feb-2009 8:47:41 AM org.datanucleus.metadata.xml.AbstractMetaDataHandler error [enhancer] WARNING: MetaData Parser encountered an error in file "file:/home/leconcombre/downloads/datanucleus-samples-jdo-tutorial-1.0.0/target/classes/org/datanucleus/samples/jdo/tutorial/package.jdo" at line 5, column 6 : cvc-elt.1: Cannot find the declaration of element 'jdo'. - Please check your specification of DTD and the validity of the MetaData XML that you have specified. I also tried to remove the dtd validation performed by datanucleus in order to get rid of the warning by adding datanucleus.metadata.validate=false to datanucleus.properties but the warning still shows up. Any ideas? |
||
|
|
|
|
|
Current timezone is GMT May 17, 2012 12:23:04 PM |