I was trying to build https://github.com/apache/activemq-artemis with "mvn
-Pdev install -DskipTests=true" but it fails with:

---- Debugging information ---- 
message             : Cannot construct
org.apache.maven.plugin.war.util.WebappStructure as it does not have a
no-args constructor 
cause-exception     :
com.thoughtworks.xstream.converters.reflection.ObjectAccessException 
cause-message       : Cannot construct
org.apache.maven.plugin.war.util.WebappStructure as it does not have a
no-args constructor 
class               : org.apache.maven.plugin.war.util.WebappStructure 
required-type       : org.apache.maven.plugin.war.util.WebappStructure 
path                : /webapp-structure 
------------------------------- 

This happens because the "artemis-hawtio/artemis-console/pom.xml" has the
configuration "<useCache>true</useCache>" for maven-war-plugin and it tries
to use xstream to read/write this cache and xstream for Zulu JDK use
PureJavaReflectionProvider which does not support classes with no-args
constructor.

Work-around:
If you remove the useCache configuration the build will take longer but it
will work.



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reply via email to