You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/08/16 01:11:21 UTC

[jira] [Commented] (MTOMCAT-274) Tomcat8 integration tests fail with JDK 7 / Maven 3.2.2

    [ https://issues.apache.org/jira/browse/MTOMCAT-274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15421980#comment-15421980 ] 

Hudson commented on MTOMCAT-274:
--------------------------------

FAILURE: Integrated in Jenkins build TomcatMavenPlugin-mvn3.x-windows #10 (See [https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x-windows/10/])
1. Fix: MTOMCAT-274 (updated maven-war-plugin version).
2. Fix: access_log.* files excluded from apache-rat-plugin configuration. These are generated during Tomcat run and should not be checked. (olamy: [http://svn.apache.org/viewvc/?view=rev&rev=1756446])
* (edit) pom.xml
* (edit) tomcat8-maven-plugin/src/test/resources/deploy-only-war-project/pom.xml
* (edit) tomcat8-maven-plugin/src/test/resources/deploy-war-project/pom.xml
* (edit) tomcat8-maven-plugin/src/test/resources/simple-war-project/pom.xml


> Tomcat8 integration tests fail with JDK 7 / Maven 3.2.2
> -------------------------------------------------------
>
>                 Key: MTOMCAT-274
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-274
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>         Environment: OS name: "mac os x", version: "10.9.4", arch: "x86_64", family: "mac"
> Java version: 1.7.0_67, vendor: Oracle Corporation
> Maven 3.2.2
>            Reporter: Envious Guest
>
> When running integration tests for Tomcat8, like that:
> mvn clean verify -pl :tomcat8-maven-plugin -am -P run-its
> The build fails with following exception:
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1-alpha-2:war (default-war) on project simple-war-project: 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
> ---- 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
> line number         : 1
> -------------------------------
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:364)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:198)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.PluginExecutionException: 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org