I get following error.

[INFO] Apache Synapse - Web Application .................. FAILURE [0.707s]
...
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 22.711s
[INFO] Finished at: Fri Mar 29 14:54:06 IST 2013
[INFO] Final Memory: 136M/963M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-war-plugin:2.1-alpha-2:war (default-war) on
project synapse-war: Execution default-war of goal
org.apache.maven.plugins:maven-war-plugin:2.1-alpha-2:war failed: Cannot
construct org.apache.maven.plugin.war.util.WebappStructure as it does not
have a no-args constructor
[ERROR] ---- Debugging information ----
[ERROR] message             : Cannot construct
org.apache.maven.plugin.war.util.WebappStructure as it does not have a
no-args constructor
[ERROR] cause-exception     :
com.thoughtworks.xstream.converters.reflection.ObjectAccessException
[ERROR] cause-message       : Cannot construct
org.apache.maven.plugin.war.util.WebappStructure as it does not have a
no-args constructor
[ERROR] class               :
org.apache.maven.plugin.war.util.WebappStructure
[ERROR] required-type       :
org.apache.maven.plugin.war.util.WebappStructure
[ERROR] path                : /webapp-structure
[ERROR] line number         : 1
[ERROR] -------------------------------
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :synapse-war

Seems to be a issue on Java 7 [1] and we need to update the maven war
plugin.

Can someone please fix this.

Thanks!

[1]
http://stackoverflow.com/questions/7539970/cannot-construct-org-apache-maven-plugin-war-util-webappstructure-as-it-does-not
-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

Twitter: http://twitter.com/chrishantha | LinkedIn:
http://lk.linkedin.com/in/chrishantha/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to