Hi,
1. How does persistence.xml exactly refer to the orm.xml? Are these in the
same directory?
2. Can you replace <openjpac> with direct invocation of PCEnhancer and see
if there is any difference.
<java classname="..openjpa.enhance.PCEnhancer" fork="true">
<classpath refid="that.includes.web-inf.classes.and.openjpa.jar">
<arg value="-properties">
<arg value="META-INF/persistence.xml#MyUnit">
</java>
notice how #MyUnit is used to qualify the persistence.xml. Here MyUnit
is the name of the persistence unit.
-----
Pinaki
--
View this message in context:
http://openjpa.208410.n2.nabble.com/ClassNotFoundException-in-PCEnhancerTask-when-class-has-already-been-enhanced-tp5010582p5014448.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.