org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.atlassian.maven.plugins:unpack-testjar:1.4:unpack-tests (default) on project confluence-multi-test: Unable to unpack test dependencies

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

Samebug tips

,
Expert tip

If you're using multiple frameworks on your project, check if this is not a problem between mismatched versions of javassist between them.

Solutions on the web

via Atlassian JIRA by Steve Lancashire [Atlassian], 1 year ago
Failed to execute goal com.atlassian.maven.plugins:unpack-testjar:1.4:unpack-tests (default) on project confluence-multi-test: Unable to unpack test dependencies
via Atlassian JIRA by Steve Lancashire [Atlassian], 1 year ago
Failed to execute goal com.atlassian.maven.plugins:unpack-testjar:1.4:unpack-tests (default) on project confluence-multi-test: Unable to unpack test dependencies
via Stack Overflow by Ram72119
, 2 years ago
Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:unpack (unpack-xsd-files) on project jointIndustryJava: Either artifact or artifactItems is required
via GitHub by shawmanz32na
, 1 year ago
Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.7.0:test (default) on project pub-sub-example: Failed to run GWT tests
via GitHub by nikosn
, 2 years ago
Failed to execute goal de.saumya.mojo:rspec-maven-plugin:1.0.4:test (run ruby tests) on project test: There were test failures
via GitHub by BoundedBuffer
, 2 years ago
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project chronicle: No tests were executed! (Set -DfailIfNoTests=false to ignore this error.)
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.atlassian.maven.plugins:unpack-testjar:1.4:unpack-tests (default) on project confluence-multi-test: Unable to unpack test dependencies
at javassist.bytecode.ConstPool.readOne(ConstPool.java:1090)
at javassist.bytecode.ConstPool.read(ConstPool.java:1033)
at javassist.bytecode.ConstPool.(ConstPool.java:149)
at javassist.bytecode.ClassFile.read(ClassFile.java:737)
at javassist.bytecode.ClassFile.(ClassFile.java:108)
at org.scannotation.AnnotationDB.scanClass(AnnotationDB.java:343)
at com.atlassian.maven.plugins.unpacktests.UnpackTestsMojo.scanClassAnnotations(UnpackTestsMojo.java:122)
at com.atlassian.maven.plugins.unpacktests.UnpackTestsMojo.unpackJar(UnpackTestsMojo.java:99)
at com.atlassian.maven.plugins.unpacktests.UnpackTestsMojo.execute(UnpackTestsMojo.java:72)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
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:355)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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