ReflectionUtils.doWithFields() 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.getDeclaredFields0
(source)
at java.lang.Class.privateGetDeclaredFields
(source)
at java.lang.Class.getDeclaredFields
(source)
at org.springframework.util.ReflectionUtils.doWithFields
(source)
at org.springframework.util.ReflectionUtils.doWithFields
(source)
4 frames hidden

Typical Exception Messages

  1. Ljavax/sql/DataSource;

Origin

Class.getDeclaredFields() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
2 frames hidden
java.lang.Class.getDeclaredFields
110Web pages

Similar

External results for this pattern (1)