openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trenton D. Adams" <>
Subject Re: ClassCastException on maven enhancing
Date Sun, 21 Dec 2014 06:55:13 GMT
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.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?

View raw message