openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: ClassCastException on maven enhancing
Date Sun, 21 Dec 2014 17:19:09 GMT
> Seems like maybe an openjpa maven plugin bug?

I would guess that the openjpa maven plugin class dependencies are
conflicting with the tomcat6 dependencies. Can you run mvn install followed
by mvn tomcat6:deploy?

On Sun, Dec 21, 2014 at 12:55 AM, Trenton D. Adams <trent@trentonadams.ca>
wrote:
>
> 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?
>


-- 
*Rick Curtis*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message