org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project maven-demo: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)

Stack Overflow | Nik | 4 months ago
  1. 0

    Error assembling WAR eclipse

    Stack Overflow | 4 months ago | Nik
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project maven-demo: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)
  2. 0

    Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)

    Stack Overflow | 8 months ago | javatechnology
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project spring-security-hibernate-annotation: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)
  3. 0

    Maven project install not working

    Stack Overflow | 1 month ago | Rémi
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project stormpath-webapp-tutorial: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cometd - Dojo setup build error

    Google Groups | 7 years ago | Mohankumar Ponnusamy
    org.apache.maven.lifecycle.LifecycleExecutionException: Error creating source archive: You must set at least one file.
  6. 0

    Build fails for an empty test-jar with maven-jar-plugin 2.2

    maven-users | 8 years ago | torsten.reinhard@gi-de.com
    org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling JAR

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.codehaus.plexus.archiver.ArchiverException

      webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)

      at org.codehaus.plexus.archiver.war.WarArchiver.initZipOutputStream()
    2. Plexus Archiver Component
      AbstractArchiver.createArchive
      1. org.codehaus.plexus.archiver.war.WarArchiver.initZipOutputStream(WarArchiver.java:148)
      2. org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:309)
      3. org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute(AbstractZipArchiver.java:211)
      4. org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:897)
      4 frames
    3. Apache Maven Archiver
      MavenArchiver.createArchive
      1. org.apache.maven.archiver.MavenArchiver.createArchive(MavenArchiver.java:582)
      1 frame
    4. org.apache.maven
      WarMojo.execute
      1. org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:243)
      2. org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:177)
      2 frames
    5. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      1 frame
    6. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:352)
      5. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:197)
      6. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      7. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      8. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      9. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      10. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      11. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      12. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      13. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      14. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      14 frames
    7. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      3 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    9. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames