H!
How to fix this?

In persistence.xml:   <persistence-unit name="quickstart"> Same is set in the 
DataNucleus defaults in eclipse. Enable auto-enhancement on dom-project is set.
Changes made from kitchensink-demo.

Best,
Marianne.

14:26:45,819 (main) INFO  [DataNucleus.Enhancer] - DataNucleus Enhancer 
(version 3.2.11) for API "JDO" using JRE "1.7"
14:26:45,831 (main) ERROR [DataNucleus.Enhancer] - DataNucleus Enhancer 
completed with an error. Please review the enhancer log (at DEBUG level) for 
full details. Some classes may have been enhanced but some caused errors
No "persistence.xml" files were found in the CLASSPATH yet you specified as 
input the name ("quickstart") of a "persistence-unit" to enhance. You must have 
a valid "persistence.xml" file in the CLASSPATH in a valid location to use this 
option.
org.datanucleus.enhancer.NucleusEnhanceException: No "persistence.xml" files 
were found in the CLASSPATH yet you specified as input the name ("quickstart") 
of a "persistence-unit" to enhance. You must have a valid "persistence.xml" 
file in the CLASSPATH in a valid location to use this option.
               at 
org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java:788)
               at 
org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:513)
               at 
org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1281)
14:27:11,983 (main) INFO  [DataNucleus.Enhancer] - DataNucleus Enhancer 
(version 3.2.11) for API "JDO" using JRE "1.7"
14:27:11,992 (main) ERROR [DataNucleus.Enhancer] - DataNucleus Enhancer 
completed with an error. Please review the enhancer log (at DEBUG level) for 
full details. Some classes may have been enhanced but some caused errors
No "persistence.xml" files were found in the CLASSPATH yet you specified as 
input the name ("quickstart") of a "persistence-unit" to enhance. You must have 
a valid "persistence.xml" file in the CLASSPATH in a valid location to use this 
option.
org.datanucleus.enhancer.NucleusEnhanceException: No "persistence.xml" files 
were found in the CLASSPATH yet you specified as input the name ("quickstart") 
of a "persistence-unit" to enhance. You must have a valid "persistence.xml" 
file in the CLASSPATH in a valid location to use this option.
               at 
org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java:788)
               at 
org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:513)
               at 
org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1281)

Reply via email to