openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
Subject Re: ClassNotFoundException in PCEnhancerTask when class has already been enhanced
Date Thu, 06 May 2010 14:25:56 GMT

  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">
     notice how #MyUnit is used to qualify the persistence.xml. Here MyUnit
is the name of the persistence unit.

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message