openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boblitz John" <>
Subject AW: openjpa build time enhance using maven plugin DOESN'T WORK
Date Tue, 07 Jun 2011 06:22:42 GMT
Good Morning,

Interestingly, I had the same issue yesterday, but with the Eclipse ANT enhancer.

Several of my programmers had not performed a clean synchronize / update from the  
Repostitory.  A full synch / update of the project cleared the problem.



-----Urspr√ľngliche Nachricht-----
Von: infinity2heaven [] 
Gesendet: Montag, 6. Juni 2011 21:11
Betreff: openjpa build time enhance using maven plugin DOESN'T WORK

Been trying to run try to run openjpa:enhance goal but it works on one persistence module
and not other.

			<id>JPA Enhance</id>

Exception thrown
Execution default-cli of goal
org.codehaus.mojo:openjpa-maven-plugin:1.2:enhance failed: MetaDataFactory could not be configured
(conf.newMetaDataFactoryInstance() returned null).
This might mean that no configuration properties were found. Ensure that you have a META-INF/persistence.xml
file, that it is available in your classpath, or that the properties file you are using for.

The persistence.xml is in the CLASSPATH, yes. Everything is just fine I double checked several
times. Another module of mine doesn't have this issue.

What am I missing?

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

View raw message