Pattern selector

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

  1. ClassLoader.loadClassInternal() has thrown a NoClassDefFoundError
    Java Runtime
    5
    1
    39
  2. Incompatible dependency version or class not found in classpath
    Java Runtime
    546
    231
    260

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.NoClassDefFoundError: javax/ejb/EJBHome
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
8 frames hidden

Solution

rafael1 year ago

Look if your classpath is correct, and check if the versions of your libraries match the version you described in your pom.xml

Check the source of this solution for more info

External results for this pattern (10)

  1. sangram desaivia Google Groups3 weeks ago
    com/google/common/base/Predicate
    Show stack trace
  2. prsalazarvia GitHub4 weeks ago
    org/mapdb/elsa/ElsaSerializerBase$Ser
    Show stack trace
  3. AM-DNEGELvia GitHub4 weeks ago
    org/apache/spark/Logging
    Show stack trace
  4. lbndevvia GitHub1 month ago
    com/sun/xml/bind/api/ErrorListener
    Show stack trace
  5. 10by10pixelvia GitHub1 month ago
    NEATFlappyBird (wrong name: fr/neatmonster/labs/NEATFlappyBird)
    Show stack trace
  6. Nicolas Parisvia Google Groups1 month ago
    shared/SharedObjectFactory
    Show stack trace
  7. Diana Magdivia Google Groups1 month ago
    >> shared/SharedObjectFactory >>
    Show stack trace
  8. Mustafa Aktanvia Google Groups1 month ago
  9. dmvolodvia GitHub1 month ago
    java.lang.reflect.InvocationTargetException --
    Show stack trace
  10. dejon97via GitHub1 month ago
    org/apache/lucene/index/FilterAtomicReader$Filte rTerms
    Show stack trace