On 2014-12-16 8:34 PM, Trenton D. Adams wrote:
The following now works.
mvn install tomcat6:deploy

Correction, this works...
mvn tomcat6:deploy

As does...
mvn tomcat6:undeploy tomcat6:deploy

But this does not...
mvn install tomcat6:deploy

Which fails with the previously mentioned error of...
[ERROR] Failed to execute goal org.codehaus.mojo:openjpa-maven-plugin:1.1:enhance (enhancer) on project webdirectory: Execution enhancer of goal org.codehaus.mojo:openjpa-maven-plugin:1.1:enhance failed: org.apache.openjpa.persistence.PersistenceProductDerivation:java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration -> [Help 1]

Any ideas on why an "install" would make it fail, even though install is presumably a requirement of tomcat6:deploy anyhow?

Seems like maybe an openjpa maven plugin bug?

Reply via email to