openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From infinity2heaven <>
Subject openjpa build time enhance using maven plugin DOESN'T WORK
Date Mon, 06 Jun 2011 19:11:13 GMT
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

What am I missing?

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

View raw message