ReflectionUtils.getDeclaredMethods() has thrown a NoClassDefFoundError

java.lang.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.getDeclaredMethods
4 lines hidden

Matching stack traces (41)

  1. org/springframework/data/convert/CustomConversions
  2. hberndtvia GitHub1 month ago
    org/springframework/data/convert/CustomConversions
  3. Alexvia Stack Overflow1 month ago
    org/springframework/data/convert/CustomConversions
  4. Verdosovia GitHub2 months ago
    org/springframework/security/web/access/WebInvocationPrivilegeEvaluator
  5. Carlossvia Stack Overflow5 months ago
    org/springframework/security/crypto/encrypt/TextEncryptor
  6. dereklinvia GitHub6 months ago
    org/springframework/security/oauth2/client/DefaultOAuth2ClientContext
  7. kala888via Stack Overflow6 months ago
    Could not evaluate condition on org.springframework.cloud.netflix.zuul.ZuulConfiguration#routeLocator due to org/springframework/cloud/netflix/zuul/filters/TraceProxyRequestHelper not found. Make sure your own configuration does not rely on that class. This can also happen if you are @ComponentScanning a springframework package (e.g. if you put a @ComponentScan in the default package by mistake)

See Also

Parent

366 web pages  - Class.getDeclaredMethods() has thrown a NoClassDefFoundError
java.lang.NoClassDefFoundError
    at java.lang.Class.getDeclaredMethods0()
    at java.lang.Class.privateGetDeclaredMethods()
    at java.lang.Class.getDeclaredMethods()

Siblings

Children

  • 33 web pages  - ReflectionUtils.doWithMethods() has thrown a NoClassDefFoundError
    java.lang.NoClassDefFoundError
        at java.lang.Class.getDeclaredMethods0()
        at java.lang.Class.privateGetDeclaredMethods()
        at java.lang.Class.getDeclaredMethods()
        at org.springframework.util.ReflectionUtils.getDeclaredMethods()
        at org.springframework.util.ReflectionUtils.doWithMethods()
  • 3 web pages  - AbstractBeanFactory.getBean() has thrown a BeanCreationException
    org.springframework.beans.factory.BeanCreationException
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean()
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean()
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject()
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton()
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean()
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean()
    Caused by: java.lang.NoClassDefFoundError
        at java.lang.Class.getDeclaredMethods0()
        at java.lang.Class.privateGetDeclaredMethods()
        at java.lang.Class.getDeclaredMethods()
        at org.springframework.util.ReflectionUtils.getDeclaredMethods()

Typical exception messages

  1. 3 crashes - com/fasterxml/classmate/members/ResolvedParameterizedMember
  2. 3 crashes - org/springframework/cloud/netflix/zuul/filters/TraceProxyRequestHelper
  3. 3 crashes - org/springframework/data/convert/CustomConversions
  4. 2 crashes - com/codahale/metrics/MetricRegistry
  5. 2 crashes - org/springframework/integration/MessagingException
  6. 2 crashes - [Lorg/hibernate/engine/FilterDefinition;
  7. 2 crashes - org/springframework/oxm/Unmarshaller
  8. 2 crashes - javax/websocket/WebSocketContainer
  9. 2 crashes - org/apache/commons/pool/KeyedPoolableObjectFactory
  10. 2 crashes - org/apache/tiles/TilesApplicationContext