org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling JAR

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Kuali JIRA by Thomas O'Brien, 1 year ago
Error assembling JAR
via Kuali JIRA by Thomas O'Brien, 1 year ago
Error assembling JAR
via Coderanch by Somnath Mallick, 11 months ago
Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)
via Coderanch by Teena Mariam, 11 months ago
Error deploying artifact: Failed to transfer file: http://snapshots.jboss.org/maven2/com.mycompany.app/jars/my-app-1.0-20091014.091039-1.jar. Re turn code is: 405
via Sonatype JIRA by Oleg Tsvinev, 1 year ago
Error deploying artifact: Failed to transfer file: https://oss.sonatype.org/content/repositories/snapshots/dnsjava/dnsjava/2.1.1-SNAPSHOT/dnsjava-2.1.1-20110212.000151-1.jar. Return code is: 401
via coderanch.com by Unknown author, 1 year ago
Error deploying artifact: Failed to transfer file: http://snapshots.jboss.org/maven2/com.mycompany.app/jars/my-app-1.0-20091014.091039-1.jar. Re turn code is: 405
org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling JAR
at org.codehaus.plexus.archiver.ArchiveEntry.createFileEntry(ArchiveEntry.java:161)
at org.codehaus.plexus.archiver.AbstractArchiver.addFile(AbstractArchiver.java:374)
at org.apache.maven.plugin.jar.AbstractJarMojo.createArchive(AbstractJarMojo.java:216)
at org.apache.maven.plugin.jar.AbstractJarMojo.execute(AbstractJarMojo.java:235)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
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:616)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.