ReflectionUtils.doWithMethods() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
Javadoc
Thrown if the Java Virtual Machine or a ClassLoader instance tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.

The searched-for class definition existed when the currently executing class was compiled, but the definition can no longer be found. @author unascribed @since JDK1.0

at java.lang.Class.getDeclaredMethods0
(source)
at java.lang.Class.privateGetDeclaredMethods
(source)
at java.lang.Class.getDeclaredMethods
(source)
at org.springframework.util.ReflectionUtils.doWithMethods
(source)
3 frames hidden

Typical Exception Messages

  1. com/mongodb/DB
  2. org/apache/spark/SparkContext
  3. org/springframework/orm/hibernate3/HibernateTemplate
  4. org/test/MyClass
  5. org/slf4j/Logger
  6. org/aspectj/lang/ NoAspectBoundException
  7. org/aspectj/lang/JoinPoint
  8. javax/jms/Message
  9. com/test/entities/MyEntity

Origin

Class.getDeclaredMethods() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
2 frames hidden
java.lang.Class.getDeclaredMethods
234Web pages

Similar

Specific cases

External results for this pattern (10)

  1. Unknown authorvia java2s.com3 months ago
  2. Unknown authorvia Stack Overflow3 months ago
  3. Damian Goldavia Google Groups3 months ago
    org/aspectj/lang/ NoAspectBoundException
    Show stack trace
  4. sven.pankovia Google Groups3 months ago
  5. Rannickvia Stack Overflow4 months ago
    org/springframework/orm/hibernate3/HibernateTemplate
    Show stack trace
  6. Bobby Andersonvia Coderanch1 year ago
    com/test/entities/MyEntity
    Show stack trace
  7. 814464via Oracle Community1 year ago
    javax/jms/Message
    Show stack trace
  8. user335369 - oraclevia Oracle Community2 years ago
    org/aspectj/lang/JoinPoint
    Show stack trace
  9. kulkeezvia GitHub2 years ago