ReflectionUtils.doWithMethods() has thrown a NoClassDefFoundError

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
at java.lang.Class.privateGetDeclaredMethods
at java.lang.Class.getDeclaredMethods
at org.springframework.util.ReflectionUtils.doWithMethods
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


Class.getDeclaredMethods() has thrown a NoClassDefFoundError

2 frames hidden
234Web pages


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
    Show stack trace
  6. Bobby Andersonvia Coderanch1 year ago
    Show stack trace
  7. 814464via Oracle Community1 year ago
    Show stack trace
  8. user335369 - oraclevia Oracle Community2 years ago
    Show stack trace
  9. kulkeezvia GitHub2 years ago