java.lang.NoClassDefFoundError

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.

tip

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

tip

Check if you didn't forget to instantiate your topic in the kafka broker.

tip

NoClassDefFoundError means java has failed to find a class you're trying to instantiate, look if you've added the class you're trying to instantiate to the dependencies.

tip

You need to add httpcore to your dependencies. Try adding version 4.3 or further.

tip

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

tip

This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k

tip

jsp-api and servlet-api jars must NOT be deployed by your web app. They should be marked as provided but not deployed by your app.

tip

The server rejects all jars that already belong to the server runtime (such as tomcat-**.jar, servlet**.jar). Consider substituting the CORS filter you're using for this one: https://goo.gl/ctQ7Fs

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

  • db:: 3.08::SwitchYard 0.7 BPEL howto s9
    via by Unknown author,
  • -sh-3.2$ mvn clean sonar:sonar [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'sonar'. [INFO] ------------------------------------------------------------------------ [INFO] Building Atlassian Bucket [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building Atlassian Bucket [INFO] task-segment: [sonar:sonar] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] [sonar:sonar] [INFO] Sonar host: http://j2ee_sonar.atlassian.com.mgmt.atlassian.com:8080 [INFO] Sonar version: 1.10 Downloading: http://j2ee_sonar.atlassian.com.mgmt.atlassian.com:8080/deploy/maven/xalan/serializer/2.7.1/serializer-2.7.1.jar [INFO] Unable to find resource 'xalan:serializer:jar:2.7.1' in repository sonar (http://j2ee_sonar.atlassian.com.mgmt.atlassian.com:8080/deploy/maven) Downloading: http://m2proxy.private.atlassian.com/repository/internal/xalan/serializer/2.7.1/serializer-2.7.1.jar 271K downloaded (serializer-2.7.1.jar) [INFO] [sonar-core:internal] [INFO] Sonar branch: [INFO] ------------- Analyse Atlassian Bucket... [FATAL ERROR] org.sonar.batch.BatchMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms: [FATAL ERROR] Plugin realm = app0.child-container[org.codehaus.sonar.runtime:sonar-core-maven-plugin:20090818190831] urls[0] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/sonar/runtime/sonar-core-maven-plugin/20090818190831/sonar-core-maven-plugin-20090818190831.jar urls[1] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.10/sonar-plugin-api-1.10.jar urls[2] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/ch/qos/logback/logback-classic/0.9.15/logback-classic-0.9.15.jar urls[3] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/ch/qos/logback/logback-core/0.9.15/logback-core-0.9.15.jar urls[4] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar urls[5] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar urls[6] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar urls[7] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar urls[8] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar urls[9] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar urls[10] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar urls[11] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar urls[12] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar urls[13] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar urls[14] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga.jar urls[15] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar urls[16] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar urls[17] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/hibernate/hibernate-entitymanager/3.3.1.ga/hibernate-entitymanager-3.3.1.ga.jar urls[18] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/hibernate/hibernate-validator/3.0.0.ga/hibernate-validator-3.0.0.ga.jar urls[19] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/jboss/javassist/3.3.ga/javassist-3.3.ga.jar urls[20] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/jboss/jboss-common-core/2.0.4.GA/jboss-common-core-2.0.4.GA.jar urls[21] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar urls[22] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/com/google/collections/google-collections/1.0-rc2/google-collections-1.0-rc2.jar urls[23] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/picocontainer/picocontainer/2.8.2/picocontainer-2.8.2.jar urls[24] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/commons-dbcp/commons-dbcp/1.2.2/commons-dbcp-1.2.2.jar urls[25] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/commons-pool/commons-pool/1.3/commons-pool-1.3.jar urls[26] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar urls[27] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar urls[28] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar urls[29] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar urls[30] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar urls[31] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar urls[32] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar urls[33] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar urls[34] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar urls[35] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar urls[36] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar urls[37] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/woodstox/woodstox-core-lgpl/4.0.4/woodstox-core-lgpl-4.0.4.jar urls[38] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar urls[39] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/woodstox/stax2-api/3.0.1/stax2-api-3.0.1.jar urls[40] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/staxmate/staxmate/2.0.0/staxmate-2.0.0.jar urls[41] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar urls[42] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar urls[43] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/xalan/xalan/2.7.1/xalan-2.7.1.jar urls[44] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/xalan/serializer/2.7.1/serializer-2.7.1.jar urls[45] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/checkstyle/checkstyle/4.4/checkstyle-4.4.jar urls[46] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/pmd/pmd/4.2.5/pmd-4.2.5.jar urls[47] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/ant/ant/1.6/ant-1.6.jar urls[48] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/jaxen/jaxen/1.1.1/jaxen-1.1.1.jar urls[49] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar urls[50] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/xom/xom/1.0/xom-1.0.jar urls[51] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar urls[52] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/junit/junit/4.4/junit-4.4.jar urls[53] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/sonar/runtime/jdbc-driver/parent/20090818190831/parent-20090818190831.pom urls[54] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/sonar/runtime/jdbc-driver/mysql-connector-java-5.1.6/20090818190831/mysql-connector-java-5.1.6-20090818190831.jar urls[55] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/sonar/runtime/plugins/parent/20090818190831/parent-20090818190831.pom urls[56] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-core-1.10/20090818190831/sonar-plugin-core-1.10-20090818190831.jar urls[57] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-surefire-1.10/20090818190831/sonar-plugin-surefire-1.10-20090818190831.jar urls[58] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-pmd-1.10/20090818190831/sonar-plugin-pmd-1.10-20090818190831.jar urls[59] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-squid-1.10/20090818190831/sonar-plugin-squid-1.10-20090818190831.jar urls[60] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-checkstyle-1.10/20090818190831/sonar-plugin-checkstyle-1.10-20090818190831.jar urls[61] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-googleanalytics-1.10/20090818190831/sonar-plugin-googleanalytics-1.10-20090818190831.jar urls[62] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-cpd-1.10/20090818190831/sonar-plugin-cpd-1.10-20090818190831.jar urls[63] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-cobertura-1.10/20090818190831/sonar-plugin-cobertura-1.10-20090818190831.jar urls[64] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-clover-1.10/20090818190831/sonar-plugin-clover-1.10-20090818190831.jar urls[65] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-findbugs-1.10/20090818190831/sonar-plugin-findbugs-1.10-20090818190831.jar urls[66] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/sonar/runtime/rules-extensions/parent/20090818190831/parent-20090818190831.pom urls[67] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar [FATAL ERROR] Container realm = plexus.core urls[0] = file:/import/tools/maven/current/lib/maven-2.1.0-uber.jar [FATAL ERROR] org.codehaus.mojo.sonar.SonarMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms: [FATAL ERROR] Plugin realm = app0.child-container[org.codehaus.mojo:sonar-maven-plugin:1.0-beta-1] urls[0] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/mojo/sonar-maven-plugin/1.0-beta-1/sonar-maven-plugin-1.0-beta-1.jar urls[1] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/commons-io/commons-io/1.3/commons-io-1.3.jar urls[2] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar urls[3] = file:/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar [FATAL ERROR] Container realm = plexus.core urls[0] = file:/import/tools/maven/current/lib/maven-2.1.0-uber.jar [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] org/jfree/util/PublicCloneable org.jfree.util.PublicCloneable [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NoClassDefFoundError: org/jfree/util/PublicCloneable at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195) at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255) at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2291) at java.lang.Class.getDeclaredFields(Class.java:1743) at org.picocontainer.injectors.AdaptingInjection$2.run(AdaptingInjection.java:217) at java.security.AccessController.doPrivileged(Native Method) at org.picocontainer.injectors.AdaptingInjection.injectionFieldAnnotated(AdaptingInjection.java:210) at org.picocontainer.injectors.AdaptingInjection.fieldAnnotatedInjectionAdapter(AdaptingInjection.java:190) at org.picocontainer.injectors.AdaptingInjection.createComponentAdapter(AdaptingInjection.java:59) at org.picocontainer.behaviors.AbstractBehaviorFactory.createComponentAdapter(AbstractBehaviorFactory.java:44) at org.picocontainer.behaviors.OptInCaching.createComponentAdapter(OptInCaching.java:45) at org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer.java:478) at org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer.java:443) at org.picocontainer.DefaultPicoContainer.access$400(DefaultPicoContainer.java:78) at org.picocontainer.DefaultPicoContainer$AsPropertiesPicoContainer.addComponent(DefaultPicoContainer.java:1023) at org.sonar.batch.BatchContext.loadExtensions(BatchContext.java:90) at org.sonar.batch.BatchContext.startComponents(BatchContext.java:79) at org.sonar.batch.Batch.analyse(Batch.java:77) at org.sonar.batch.Batch.start(Batch.java:54) at org.sonar.batch.BatchMojo.executeBatch(BatchMojo.java:153) at org.sonar.batch.BatchMojo.execute(BatchMojo.java:145) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:82) at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65) at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:117) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: java.lang.ClassNotFoundException: org.jfree.util.PublicCloneable at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195) at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255) at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274) at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 56 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6 seconds [INFO] Finished at: Wed Aug 19 01:20:13 CDT 2009 [INFO] Final Memory: 12M/546M [INFO] ------------------------------------------------------------------------
    via by Dave Cheney,
  • Guvnor rules encoding
    via Stack Overflow by ZeKoU
    ,
  • GitHub comment 17#1421009
    via GitHub by garretwilson
    ,
  • GitHub comment 1#382651
    via GitHub by jeroenr
    ,
    • java.lang.NoClassDefFoundError: org/apache/tools/ant/types/selectors/SelectorScanner at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195) at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255) at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.switchyard.tools.maven.plugins.switchyard.ConfiguratorMojo.execute(ConfiguratorMojo.java:139) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.types.selectors.SelectorScanner at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195) at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255) at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274) at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 34 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    2285 more bugmates