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]]] -----------------------------------------------------

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4909

  • via Google Groups by Александр Гурьянов, 6 months 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
  • Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.1.0:compile (scala-compile-first) on project chronos: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:3.1.0:compile failed: A required class was missing while
  • -api-3.0.jar urls[12] = file:/Users/yegor/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.jar urls[13] = file:/Users/yegor/.m2/repository/org/apache/maven/shared/maven-shared-utils/0.3/maven-shared-utils-0.3.jar urls[14
  • Stack trace

    • 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
    • et/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]]] ----------------------------------------------------- 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.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) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.PluginExecutionException: 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
    • et/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]]] ----------------------------------------------------- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:167) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: org.apache.maven.plugin.PluginContainerException: 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
    • et/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]]] ----------------------------------------------------- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:165) ... 20 more Caused by: java.lang.NoClassDefFoundError: org/apache/commons/exec/ExecuteException 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.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) ... 20 more Caused by: 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 org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227) ... 26 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    94 more bugmates