Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. Launcher.main() has thrown a NoClassDefFoundError
    Plexus Classworlds
    2
    2
    0
  2. ClassRealm.loadClass() has thrown a ClassNotFoundException
    Plexus Classworlds
    94
    195
    20

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.ClassNotFoundException: com.google.common.base.Strings
2 matching frames hidden
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)

Solution

Shane Rogers11 months ago

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.

External results for this pattern (10)

  1. blutorangevia GitHub1 day ago
    Failed to execute goal com.samaxes.maven:minify-maven-plugin:1.7.6:minify (default-minify) on project ui: Execution default-minify of goal com.samaxes.maven:minify-maven-plugin:1.7.6:minify failed: A required class was missing while executing com.samaxes.maven:minify-maven-plugin:1.7.6:minify: Lcom/google/javascript/jscomp/CompilerOptions$LanguageMode; ----------------------------------------------------- realm = plugin>com.samaxes.maven:minify-maven-plugin:1.7.6 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/home/jenkins/.m2/repository/com/samaxes/maven/minify-maven-plugin/1.7.6/minify-maven-plugin-1.7.6.jar urls[1] = file:/home/jenkins/.m2/repository/com/google/code/gson/gson/2.3.1/gson-2.3.1.jar urls[2] = file:/home/jenkins/.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[project>com.acme:project:0.10-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]] -----------------------------------------------------
    Show stack trace
  2. evan-wehivia GitHub5 days ago
    com/google/common/collect/Multimap
    Show stack trace
  3. R1310328554via GitHub1 week ago
    org.restlet.ext.servlet.ServerServlet
    Show stack trace
  4. Александр Гурьяновvia Google Groups1 week 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 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]]] -----------------------------------------------------
    Show stack trace
  5. issuemover631via GitHub1 month ago
    com/sun/xml/bind/api/ErrorListener
    Show stack trace
  6. Rapstervia GitHub1 month ago
    ${jsf-listener}
    Show stack trace
  7. courteousvia GitHub1 month ago
    java.lang.reflect.InvocationTargetException
    Show stack trace
  8. romanivia GitHub1 month ago
    org/apache/maven/doxia/siterenderer/DocumentContent
    Show stack trace
  9. romanivia GitHub1 month ago
    Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (sevntu-checkstyle-check) on project checkstyle: Failed during checkstyle configuration
    Show stack trace
  10. austin987via GitHub2 months ago
    org/apache/maven/doxia/siterenderer/DocumentContent
    Show stack trace