org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.1.6:compile (default) on project org.scala-ide.sdt.aspects: Execution default of goal net.alchim31.maven:scala-maven-plugin:3.1.6:compile failed: A required class was missing while executing net.alchim31.maven:scala-maven-plugin:3.1.6:compile: org/apache/commons/exec/ExecuteException ----------------------------------------------------- realm = plugin>net.alchim31.maven:scala-maven-plugin:3.1.6 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/home/caiiiycuk/.m2/repository/net/alchim31/maven/scala-maven-plugin/3.1.6/scala-maven-plugin-3.1.6.jar urls[1] = file:/home/caiiiycuk/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar urls[2] = file:/home/caiiiycuk/.m2/repository/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar urls[3] = file:/home/caiiiycuk/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar urls[4] = file:/home/caiiiycuk/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar urls[5] = file:/home/caiiiycuk/.m2/repository/org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.jar urls[6] = file:/home/caiiiycuk/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar urls[7] = file:/home/caiiiycuk/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar urls[8] = file:/home/caiiiycuk/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar urls[9] = file:/home/caiiiycuk/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[10] = file:/home/caiiiycuk/.m2/repository/org/apache/maven/shared/maven-dependency-tree/1.2/maven-dependency-tree-1.2.jar urls[11] = file:/home/caiiiycuk/.m2/repository/org/apache/commons/commons-exec/1.1/commons-exec-1.1.jar urls[12] = file:/home/caiiiycuk/.m2/repository/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar urls[13] = file:/home/caiiiycuk/.m2/repository/org/codehaus/plexus/plexus-archiver/2.1/plexus-archiver-2.1.jar urls[14] = file:/home/caiiiycuk/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar urls[15] = file:/home/caiiiycuk/.m2/repository/org/codehaus/plexus/plexus-io/2.0.2/plexus-io-2.0.2.jar urls[16] = file:/home/caiiiycuk/.m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar urls[17] = file:/home/caiiiycuk/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1.2/doxia-sink-api-1.1.2.jar urls[18] = file:/home/caiiiycuk/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1.2/doxia-logging-api-1.1.2.jar urls[19] = file:/home/caiiiycuk/.m2/repository/org/apache/maven/shared/maven-invoker/2.0.11/maven-invoker-2.0.11.jar urls[20] = file:/home/caiiiycuk/.m2/repository/com/typesafe/zinc/zinc/0.2.5/zinc-0.2.5.jar urls[21] = file:/home/caiiiycuk/.m2/repository/org/scala-lang/scala-library/2.9.2/scala-library-2.9.2.jar urls[22] = file:/home/caiiiycuk/.m2/repository/com/typesafe/sbt/incremental-compiler/0.12.3/incremental-compiler-0.12.3.jar urls[23] = file:/home/caiiiycuk/.m2/repository/com/typesafe/sbt/sbt-interface/0.12.3/sbt-interface-0.12.3.jar urls[24] = file:/home/caiiiycuk/.m2/repository/org/scala-lang/scala-compiler/2.9.2/scala-compiler-2.9.2.jar urls[25] = file:/home/caiiiycuk/.m2/repository/com/typesafe/sbt/compiler-interface/0.12.3/compiler-interface-0.12.3-sources.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[project>org.scala-ide:org.scala-ide.sdt.build:4.1.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]] -----------------------------------------------------

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

,

If JVM throws ClassNotFoundException the class is not found in classpath. Seems you are missing hibernate dependency in your project set up. Try downloading hibernate-core.jar and add to your project classpath.

Solutions on the web

via Google Groups by Александр Гурьянов, 1 year ago
Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.1.6:compile (default) on project org.scala-ide.sdt.aspects: Execution default of goal net.alchim31.maven:scala-maven-plugin:3.1.6:compile failed: A required class was missing while
via GitHub by yegor256
, 2 years ago
Failed to execute goal com.qulice:qulice-maven-plugin:0.11:check (jcabi-check) on project jcabi-jdbc: Execution jcabi-check of goal com.qulice:qulice-maven-plugin:0.11:check failed: An API incompatibility was encountered while executing
via hadoop-common-dev by Apache Jenkins Server, 1 year ago
urls[1] = file:/home/jenkins/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar urls[2] = file:/home/jenkins/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar urls[3] = file:/home/jenkins/.m2
via hadoop-common-dev by Apache Jenkins Server, 1 year ago
urls[1] = file:/home/jenkins/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar urls[2] = file:/home/jenkins/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar urls[3] = file:/home/jenkins/.m2
via hadoop-common-dev by Apache Jenkins Server, 1 year ago
urls[1] = file:/home/jenkins/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar urls[2] = file:/home/jenkins/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar urls[3] = file:/home/jenkins/.m2
via Stack Overflow by J. Buget
, 2 years ago
Failed to execute goal org.liquibase:liquibase-maven-plugin:3.3.2:updateSQL (default-cli) on project app: Execution default-cli of goal org.liquibase:liquibase-maven-plugin:3.3.2:updateSQL failed: A required class was missing while executing
java.lang.ClassNotFoundException: org.apache.commons.exec.ExecuteException
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
at scala_maven.ScalaMojoSupport.getEmptyScalaCommand(ScalaMojoSupport.java:659)
at scala_maven.ScalaMojoSupport.getScalaCommand(ScalaMojoSupport.java:630)
at scala_maven.ScalaCompilerSupport.compile(ScalaCompilerSupport.java:158)
at scala_maven.ScalaCompilerSupport.doExecute(ScalaCompilerSupport.java:104)
at scala_maven.ScalaMojoSupport.execute(ScalaMojoSupport.java:482)
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:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
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: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)

Users with the same issue

Once, 1 week ago
Once, 1 month ago
Once, 2 months ago
4 times, 4 months ago
2 times, 7 months ago

Write tip

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