org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:0.0.20:package (default-package) on project website-view: Execution default-package of goal com.day.jcr.vault:content-package-maven-plugin:0.0.20:package failed: A required class was missing while executing com.day.jcr.vault:content-package-maven-plugin:0.0.20:package: org/slf4j/helpers/MarkerIgnoringBase ----------------------------------------------------- realm = extension>com.day.jcr.vault:content-package-maven-plugin:0.0.20 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/Users/tim.clifford/.m2/repository/com/day/jcr/vault/content-package-maven-plugin/0.0.20/content-package-maven-plugin-0.0.20.jar urls[1] = file:/C:/Users/tim.clifford/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar urls[2] = file:/C:/Users/tim.clifford/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar urls[3] = file:/C:/Users/tim.clifford/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar urls[4] = file:/C:/Users/tim.clifford/.m2/repository/org/apache/maven/maven-archiver/2.3/maven-archiver-2.3.jar urls[5] = file:/C:/Users/tim.clifford/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar urls[6] = file:/C:/Users/tim.clifford/.m2/repository/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar urls[7] = file:/C:/Users/tim.clifford/.m2/repository/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.jar urls[8] = file:/C:/Users/tim.clifford/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar urls[9] = file:/C:/Users/tim.clifford/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[10] = file:/C:/Users/tim.clifford/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar urls[11] = file:/C:/Users/tim.clifford/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar urls[12] = file:/C:/Users/tim.clifford/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar urls[13] = file:/C:/Users/tim.clifford/.m2/repository/org/codehaus/mojo/animal-sniffer-maven-plugin/1.8/animal-sniffer-maven-plugin-1.8.jar urls[14] = file:/C:/Users/tim.clifford/.m2/repository/org/codehaus/mojo/animal-sniffer/1.8/animal-sniffer-1.8.jar urls[15] = file:/C:/Users/tim.clifford/.m2/repository/org/ow2/asm/asm-all/4.0/asm-all-4.0.jar urls[16] = file:/C:/Users/tim.clifford/.m2/repository/org/codehaus/mojo/java-boot-classpath-detector/1.8/java-boot-classpath-detector-1.8.jar urls[17] = file:/C:/Users/tim.clifford/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.1/maven-reporting-api-2.0.1.jar urls[18] = file:/C:/Users/tim.clifford/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-6/doxia-sink-api-1.0-alpha-6.jar urls[19] = file:/C:/Users/tim.clifford/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar urls[20] = file:/C:/Users/tim.clifford/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar urls[21] = file:/C:/Users/tim.clifford/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.2/maven-common-artifact-filters-1.2.jar urls[22] = file:/C:/Users/tim.clifford/.m2/repository/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.jar urls[23] = file:/C:/Users/tim.clifford/.m2/repository/org/apache/sling/org.apache.sling.commons.json/2.0.6/org.apache.sling.commons.json-2.0.6.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] -----------------------------------------------------

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Maven error - java.lang.NoClassDefFoundError: org/slf4j/helpers/MarkerIgnoringBase

    Stack Overflow | 2 years ago | timothyclifford
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:0.0.20:package (default-package) on project website-view: Execution default-package of goal com.day.jcr.vault:content-package-maven-plugin:0.0.20:package failed: A required class was missing while executing com.day.jcr.vault:content-package-maven-plugin:0.0.20:package: org/slf4j/helpers/MarkerIgnoringBase ----------------------------------------------------- realm = extension>com.day.jcr.vault:content-package-maven-plugin:0.0.20 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/Users/tim.clifford/.m2/repository/com/day/jcr/vault/content-package-maven-plugin/0.0.20/content-package-maven-plugin-0.0.20.jar urls[1] = file:/C:/Users/tim.clifford/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar urls[2] = file:/C:/Users/tim.clifford/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar urls[3] = file:/C:/Users/tim.clifford/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar urls[4] = file:/C:/Users/tim.clifford/.m2/repository/org/apache/maven/maven-archiver/2.3/maven-archiver-2.3.jar urls[5] = file:/C:/Users/tim.clifford/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar urls[6] = file:/C:/Users/tim.clifford/.m2/repository/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar urls[7] = file:/C:/Users/tim.clifford/.m2/repository/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.jar urls[8] = file:/C:/Users/tim.clifford/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar urls[9] = file:/C:/Users/tim.clifford/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[10] = file:/C:/Users/tim.clifford/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar urls[11] = file:/C:/Users/tim.clifford/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar urls[12] = file:/C:/Users/tim.clifford/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar urls[13] = file:/C:/Users/tim.clifford/.m2/repository/org/codehaus/mojo/animal-sniffer-maven-plugin/1.8/animal-sniffer-maven-plugin-1.8.jar urls[14] = file:/C:/Users/tim.clifford/.m2/repository/org/codehaus/mojo/animal-sniffer/1.8/animal-sniffer-1.8.jar urls[15] = file:/C:/Users/tim.clifford/.m2/repository/org/ow2/asm/asm-all/4.0/asm-all-4.0.jar urls[16] = file:/C:/Users/tim.clifford/.m2/repository/org/codehaus/mojo/java-boot-classpath-detector/1.8/java-boot-classpath-detector-1.8.jar urls[17] = file:/C:/Users/tim.clifford/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.1/maven-reporting-api-2.0.1.jar urls[18] = file:/C:/Users/tim.clifford/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-6/doxia-sink-api-1.0-alpha-6.jar urls[19] = file:/C:/Users/tim.clifford/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar urls[20] = file:/C:/Users/tim.clifford/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar urls[21] = file:/C:/Users/tim.clifford/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.2/maven-common-artifact-filters-1.2.jar urls[22] = file:/C:/Users/tim.clifford/.m2/repository/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.jar urls[23] = file:/C:/Users/tim.clifford/.m2/repository/org/apache/sling/org.apache.sling.commons.json/2.0.6/org.apache.sling.commons.json-2.0.6.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] -----------------------------------------------------
  2. 0

    Version 2.1.14 is affected by https://issues.apache.org/jira/browse/MNG-5787

    GitHub | 2 years ago | hgschmie
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal pl.project13.maven:git-commit-id-plugin:2.1.14:revision (default) on project basepom-foundation: Execution default of goal pl.project13.maven:git-commit-id-plugin:2.1.14:revision failed: Unable to load the mojo 'revision' in the plugin 'pl.project13.maven:git-commit-id-plugin:2.1.14'. A required class is missing: org/slf4j/helpers/MarkerIgnoringBase ----------------------------------------------------- realm = plugin>pl.project13.maven:git-commit-id-plugin:2.1.14 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/home/hschmiedehausen/.m2/repository/pl/project13/maven/git-commit-id-plugin/2.1.14/git-commit-id-plugin-2.1.14.jar urls[1] = file:/home/hschmiedehausen/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar urls[2] = file:/home/hschmiedehausen/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar urls[3] = file:/home/hschmiedehausen/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar urls[4] = file:/home/hschmiedehausen/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar urls[5] = file:/home/hschmiedehausen/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.0.0.M5/org.eclipse.sisu.inject-0.0.0.M5.jar urls[6] = file:/home/hschmiedehausen/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar urls[7] = file:/home/hschmiedehausen/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.19/plexus-interpolation-1.19.jar urls[8] = file:/home/hschmiedehausen/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.jar urls[9] = file:/home/hschmiedehausen/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar urls[10] = file:/home/hschmiedehausen/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar urls[11] = file:/home/hschmiedehausen/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[12] = file:/home/hschmiedehausen/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.5.1/jackson-databind-2.5.1.jar urls[13] = file:/home/hschmiedehausen/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.5.0/jackson-annotations-2.5.0.jar urls[14] = file:/home/hschmiedehausen/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.5.1/jackson-core-2.5.1.jar urls[15] = file:/home/hschmiedehausen/.m2/repository/joda-time/joda-time/2.7/joda-time-2.7.jar urls[16] = file:/home/hschmiedehausen/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar urls[17] = file:/home/hschmiedehausen/.m2/repository/com/intellij/annotations/12.0/annotations-12.0.jar urls[18] = file:/home/hschmiedehausen/.m2/repository/org/eclipse/jgit/org.eclipse.jgit/3.7.0.201502260915-r/org.eclipse.jgit-3.7.0.201502260915-r.jar urls[19] = file:/home/hschmiedehausen/.m2/repository/com/jcraft/jsch/0.1.50/jsch-0.1.50.jar urls[20] = file:/home/hschmiedehausen/.m2/repository/com/googlecode/javaewah/JavaEWAH/0.7.9/JavaEWAH-0.7.9.jar urls[21] = file:/home/hschmiedehausen/.m2/repository/org/apache/httpcomponents/httpclient/4.1.3/httpclient-4.1.3.jar urls[22] = file:/home/hschmiedehausen/.m2/repository/org/apache/httpcomponents/httpcore/4.1.4/httpcore-4.1.4.jar urls[23] = file:/home/hschmiedehausen/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar urls[24] = file:/home/hschmiedehausen/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar urls[25] = file:/home/hschmiedehausen/.m2/repository/org/slf4j/slf4j-simple/1.7.12/slf4j-simple-1.7.12.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] -----------------------------------------------------
  3. 0

    [MNG-5787] Moving from Maven 3.0.5 to 3.3.3 breaks plugins with some dependencies on the class path - ASF JIRA

    apache.org | 1 year ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal sample.plugin:hello-maven-plugin:1.0-SNAPSHOT:sayhi ( default -cli) on project standalone-pom: Execution default -cli of goal sample.plugin:hello-maven-plugin:1.0-SNAPSHOT:sayhi failed: A required class was missing while executing sample.plugin:hello-maven-plugin:1.0-SNAPSHOT:sayhi: org/slf4j/helpers/MarkerIgnoringBase ----------------------------------------------------- realm = plugin>sample.plugin:hello-maven-plugin:1.0-SNAPSHOT strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/Users/christian/.m2/repository/sample/plugin/hello-maven-plugin/1.0-SNAPSHOT/hello-maven-plugin-1.0-SNAPSHOT.jar urls[1] = file:/Users/christian/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar Number of foreign imports: 1 import : Entry[ import from realm ClassRealm[maven.api, parent: null ]] -----------------------------------------------------
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    There is a regression when setting up the class path for a plugin in Maven 3.3.1. The following commands run fine when using Maven 3.2.5 or older: {code} $ mvn --version Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T18:29:23+01:00) Maven home: /usr/local/Cellar/maven/3.2.5/libexec Java version: 1.8.0_40, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre Default locale: de_DE, platform encoding: UTF-8 OS name: "mac os x", version: "10.10.2", arch: "x86_64", family: "mac" $ mvn archetype:generate \ -DarchetypeGroupId=net.java.truelicense \ -DarchetypeArtifactId=truelicense-maven-archetype \ -DarchetypeVersion=2.3.4 \ -DgroupId=com.company.product \ -DartifactId=product \ -Dversion=0.1-SNAPSHOT \ -Dpackage=com.company.product \ -Dsubject="Product 1" [...] $ cd project $ mvn clean install [...] {code} Note that I have shortened the output using bracketed ellipsis {{\[...\]}}. However, when running the same commands using Maven 3.3.1, I get the following output: {code} $ mvn --version Apache Maven 3.3.1 (cab6659f9874fa96462afef40fcf6bc033d58c1c; 2015-03-13T21:10:27+01:00) Maven home: /Users/christian/Downloads/apache-maven-3.3.1 Java version: 1.8.0_40, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre Default locale: de_DE, platform encoding: UTF-8 OS name: "mac os x", version: "10.10.2", arch: "x86_64", family: "mac" $ mvn archetype:generate \ -DarchetypeGroupId=net.java.truelicense \ -DarchetypeArtifactId=truelicense-maven-archetype \ -DarchetypeVersion=2.3.4 \ -DgroupId=com.company.product \ -DartifactId=product \ -Dversion=0.1-SNAPSHOT \ -Dpackage=com.company.product \ -Dsubject="Product 1" [...] $ cd project $ mvn clean install [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] product [INFO] keygen [INFO] keymgr [INFO] keysrv [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building product 0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6:clean (default-clean) @ product --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ product --- [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ product --- [INFO] Installing /Users/christian/sandbox/truelicense/product/pom.xml to /Users/christian/.m2/repository/com/company/product/product/0.1-SNAPSHOT/product-0.1-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building keygen 0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6:clean (default-clean) @ keygen --- [INFO] Deleting /Users/christian/sandbox/truelicense/product/keygen/target [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ keygen --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ keygen --- [INFO] Using 'US-ASCII' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ keygen --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /Users/christian/sandbox/truelicense/product/keygen/target/classes [INFO] [INFO] --- truelicense-maven-plugin:2.3.4:obfuscate (default) @ keygen --- [INFO] Obfuscating annotated constant string values in /Users/christian/sandbox/truelicense/product/keygen/target/classes. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] product ............................................ SUCCESS [ 0.411 s] [INFO] keygen ............................................. FAILURE [ 1.022 s] [INFO] keymgr ............................................. SKIPPED [INFO] keysrv ............................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.646 s [INFO] Finished at: 2015-03-18T19:31:46+01:00 [INFO] Final Memory: 15M/245M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal net.java.truelicense:truelicense-maven-plugin:2.3.4:obfuscate (default) on project keygen: Execution default of goal net.java.truelicense:truelicense-maven-plugin:2.3.4:obfuscate failed: A required class was missing while executing net.java.truelicense:truelicense-maven-plugin:2.3.4:obfuscate: org/slf4j/helpers/MarkerIgnoringBase [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>net.java.truelicense:truelicense-maven-plugin:2.3.4 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/Users/christian/.m2/repository/net/java/truelicense/truelicense-maven-plugin/2.3.4/truelicense-maven-plugin-2.3.4.jar [ERROR] urls[1] = file:/Users/christian/.m2/repository/net/java/truelicense/truelicense-obfuscate/2.3.4/truelicense-obfuscate-2.3.4.jar [ERROR] urls[2] = file:/Users/christian/.m2/repository/de/schlichtherle/truezip/truezip-driver-zip/7.7.6/truezip-driver-zip-7.7.6.jar [ERROR] urls[3] = file:/Users/christian/.m2/repository/de/schlichtherle/truezip/truezip-swing/7.7.6/truezip-swing-7.7.6.jar [ERROR] urls[4] = file:/Users/christian/.m2/repository/org/apache/commons/commons-compress/1.9/commons-compress-1.9.jar [ERROR] urls[5] = file:/Users/christian/.m2/repository/de/schlichtherle/truezip/truezip-kernel/7.7.6/truezip-kernel-7.7.6.jar [ERROR] urls[6] = file:/Users/christian/.m2/repository/de/schlichtherle/truezip/truezip-file/7.7.6/truezip-file-7.7.6.jar [ERROR] urls[7] = file:/Users/christian/.m2/repository/de/schlichtherle/truezip/truezip-driver-file/7.7.6/truezip-driver-file-7.7.6.jar [ERROR] urls[8] = file:/Users/christian/.m2/repository/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar [ERROR] urls[9] = file:/Users/christian/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar [ERROR] urls[10] = file:/Users/christian/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]] [ERROR] [ERROR] -----------------------------------------------------: org.slf4j.helpers.MarkerIgnoringBase [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :keygen {code} {{org.slf4j.helpers.MarkerIgnoringBase}} is a class in the SLF4J API. Version 1.7.7 is a compile dependency of the TrueLicense Maven Plugin, as can be seen at https://repo1.maven.org/maven2/net/java/truelicense/truelicense-maven-plugin/2.3.4/truelicense-maven-plugin-2.3.4.pom , however it is apparently missing on the class path when building the project with Maven 3.3.1. Using a 1.7 JDK makes no difference, too.

    Apache's JIRA Issue Tracker | 2 years ago | Christian Schlichtherle
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal sample.plugin:hello-maven-plugin:1.0-SNAPSHOT:sayhi (default-cli) on project standalone-pom: Execution default-cli of goal sample.plugin:hello-maven-plugin:1.0-SNAPSHOT:sayhi failed: A required class was missing while executing sample.plugin:hello-maven-plugin:1.0-SNAPSHOT:sayhi: org/slf4j/helpers/MarkerIgnoringBase ----------------------------------------------------- realm = plugin>sample.plugin:hello-maven-plugin:1.0-SNAPSHOT strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/Users/christian/.m2/repository/sample/plugin/hello-maven-plugin/1.0-SNAPSHOT/hello-maven-plugin-1.0-SNAPSHOT.jar urls[1] = file:/Users/christian/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] -----------------------------------------------------
  6. 0

    The plugin to download settings.xml files from Nexus does not work with Maven 3.3.1. It gives the following error {noformat} [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Stub Project (No POM) 1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- nexus-m2settings-maven-plugin:1.6.5:download (default-cli) @ standalone-pom --- [WARNING] Error injecting: org.sonatype.nexus.maven.m2settings.DownloadMojo java.lang.NoClassDefFoundError: org/slf4j/helpers/MarkerIgnoringBase at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401) at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401) at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2583) at java.lang.Class.getDeclaredFields(Class.java:1916) at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:661) at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:366) at com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:165) at com.google.inject.internal.InjectorImpl.getInternalDependencies(InjectorImpl.java:612) at com.google.inject.internal.InjectorImpl.cleanup(InjectorImpl.java:568) at com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:554) at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:877) at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:798) at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:281) at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:213) at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:998) at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1031) at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:994) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1044) at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:54) at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115) at org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126) at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:46) at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1009) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1059) at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1005) at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:36) at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81) at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:543) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121) 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:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) 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) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: java.lang.ClassNotFoundException: org.slf4j.helpers.MarkerIgnoringBase at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) ... 86 more [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.139 s [INFO] Finished at: 2015-04-07T13:06:49-04:00 [INFO] Final Memory: 8M/228M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.sonatype.plugins:nexus-m2settings-maven-plugin:1.6.5:download (default-cli) on project standalone-pom: Execution default-cli of goal org.sonatype.plugins:nexus-m2set tings-maven-plugin:1.6.5:download failed: A required class was missing while executing org.sonatype.plugins:nexus-m2settings-maven-plugin:1.6.5:download: org/slf4j/helpers/MarkerIgnoringBase [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>org.sonatype.plugins:nexus-m2settings-maven-plugin:1.6.5 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/C:/java/maven/repository_test/org/sonatype/plugins/nexus-m2settings-maven-plugin/1.6.5/nexus-m2settings-maven-plugin-1.6.5.jar [ERROR] urls[1] = file:/C:/java/maven/repository_test/org/sonatype/gossip/gossip-bootstrap/1.8/gossip-bootstrap-1.8.jar [ERROR] urls[2] = file:/C:/java/maven/repository_test/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar [ERROR] urls[3] = file:/C:/java/maven/repository_test/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar [ERROR] urls[4] = file:/C:/java/maven/repository_test/org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.jar [ERROR] urls[5] = file:/C:/java/maven/repository_test/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar [ERROR] urls[6] = file:/C:/java/maven/repository_test/org/codehaus/plexus/plexus-utils/3.0.8/plexus-utils-3.0.8.jar [ERROR] urls[7] = file:/C:/java/maven/repository_test/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar [ERROR] urls[8] = file:/C:/java/maven/repository_test/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar [ERROR] urls[9] = file:/C:/java/maven/repository_test/org/sonatype/plexus/plexus-cipher/1.7/plexus-cipher-1.7.jar [ERROR] urls[10] = file:/C:/java/maven/repository_test/com/google/guava/guava/14.0.1/guava-14.0.1.jar [ERROR] urls[11] = file:/C:/java/maven/repository_test/jline/jline/2.9/jline-2.9.jar [ERROR] urls[12] = file:/C:/java/maven/repository_test/org/codehaus/plexus/plexus-interpolation/1.15/plexus-interpolation-1.15.jar [ERROR] urls[13] = file:/C:/java/maven/repository_test/org/sonatype/nexus/nexus-client-core/2.9.1-02/nexus-client-core-2.9.1-02.jar [ERROR] urls[14] = file:/C:/java/maven/repository_test/org/sonatype/nexus/plugins/nexus-restlet1x-model/2.9.1-02/nexus-restlet1x-model-2.9.1-02.jar [ERROR] urls[15] = file:/C:/java/maven/repository_test/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar [ERROR] urls[16] = file:/C:/java/maven/repository_test/com/intellij/annotations/9.0.4/annotations-9.0.4.jar [ERROR] urls[17] = file:/C:/java/maven/repository_test/commons-io/commons-io/2.4/commons-io-2.4.jar [ERROR] urls[18] = file:/C:/java/maven/repository_test/com/thoughtworks/xstream/xstream/1.4.7/xstream-1.4.7.jar [ERROR] urls[19] = file:/C:/java/maven/repository_test/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar [ERROR] urls[20] = file:/C:/java/maven/repository_test/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar [ERROR] urls[21] = file:/C:/java/maven/repository_test/joda-time/joda-time/2.2/joda-time-2.2.jar [ERROR] urls[22] = file:/C:/java/maven/repository_test/commons-lang/commons-lang/2.6/commons-lang-2.6.jar [ERROR] urls[23] = file:/C:/java/maven/repository_test/org/sonatype/sisu/siesta/siesta-client/1.7/siesta-client-1.7.jar [ERROR] urls[24] = file:/C:/java/maven/repository_test/org/sonatype/sisu/siesta/siesta-common/1.7/siesta-common-1.7.jar [ERROR] urls[25] = file:/C:/java/maven/repository_test/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar [ERROR] urls[26] = file:/C:/java/maven/repository_test/com/sun/jersey/jersey-core/1.17.1/jersey-core-1.17.1.jar [ERROR] urls[27] = file:/C:/java/maven/repository_test/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar [ERROR] urls[28] = file:/C:/java/maven/repository_test/com/sun/jersey/jersey-client/1.17.1/jersey-client-1.17.1.jar [ERROR] urls[29] = file:/C:/java/maven/repository_test/com/sun/jersey/contribs/jersey-apache-client4/1.17.1/jersey-apache-client4-1.17.1.jar [ERROR] urls[30] = file:/C:/java/maven/repository_test/org/sonatype/sisu/siesta/siesta-jackson/1.7/siesta-jackson-1.7.jar [ERROR] urls[31] = file:/C:/java/maven/repository_test/com/fasterxml/jackson/core/jackson-annotations/2.3.1/jackson-annotations-2.3.1.jar [ERROR] urls[32] = file:/C:/java/maven/repository_test/com/fasterxml/jackson/core/jackson-core/2.3.1/jackson-core-2.3.1.jar [ERROR] urls[33] = file:/C:/java/maven/repository_test/com/fasterxml/jackson/core/jackson-databind/2.3.1/jackson-databind-2.3.1.jar [ERROR] urls[34] = file:/C:/java/maven/repository_test/com/fasterxml/jackson/jaxrs/jackson-jaxrs-json-provider/2.3.1/jackson-jaxrs-json-provider-2.3.1.jar [ERROR] urls[35] = file:/C:/java/maven/repository_test/com/fasterxml/jackson/jaxrs/jackson-jaxrs-base/2.3.1/jackson-jaxrs-base-2.3.1.jar [ERROR] urls[36] = file:/C:/java/maven/repository_test/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.3.1/jackson-module-jaxb-annotations-2.3.1.jar [ERROR] urls[37] = file:/C:/java/maven/repository_test/org/apache/httpcomponents/httpclient/4.3.5/httpclient-4.3.5.jar [ERROR] urls[38] = file:/C:/java/maven/repository_test/commons-codec/commons-codec/1.6/commons-codec-1.6.jar [ERROR] urls[39] = file:/C:/java/maven/repository_test/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar [ERROR] urls[40] = file:/C:/java/maven/repository_test/org/slf4j/jcl-over-slf4j/1.7.7/jcl-over-slf4j-1.7.7.jar [ERROR] urls[41] = file:/C:/java/maven/repository_test/commons-beanutils/commons-beanutils-core/1.8.3/commons-beanutils-core-1.8.3.jar [ERROR] urls[42] = file:/C:/java/maven/repository_test/org/slf4j/slf4j-simple/1.7.7/slf4j-simple-1.7.7.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]] [ERROR] [ERROR] -----------------------------------------------------: org.slf4j.helpers.MarkerIgnoringBase [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException {noformat} This plugin works just fine with Maven version 3.2.5.

    Sonatype JIRA | 2 years ago | Miro Lehky
    java.lang.NoClassDefFoundError: org/slf4j/helpers/MarkerIgnoringBase
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. java.lang.ClassNotFoundException

    org.slf4j.helpers.MarkerIgnoringBase

    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass()
  2. Plexus
    ClassRealm.loadClass
    1. org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
    2. org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
    3. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
    4. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
    4 frames
  3. Java RT
    URLClassLoader.findClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    5. java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    7. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    9 frames
  4. Plexus
    ClassRealm.loadClass
    1. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)
    2. org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
    3. org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
    4. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
    5. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
    5 frames
  5. SLF4J LOG4J-12 Binding
    StaticLoggerBinder.<clinit>
    1. org.slf4j.impl.MavenLoggerFactory.<clinit>(MavenLoggerFactory.java:26)
    2. org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:41)
    3. org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:34)
    3 frames
  6. com.day.jcr
    VaultMojo.execute
    1. com.day.jcr.vault.maven.pack.VaultMojo.execute(VaultMojo.java:237)
    1 frame
  7. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    1 frame
  8. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    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.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    10 frames
  9. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
    3 frames
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  11. 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