java.lang.IllegalStateException: Could not access method: Class org.springframework.util.ReflectionUtils can not access a member of class com.example.MyEventHandler with modifiers "public"

Spring JIRA | Chris Beams | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    The Network Adapter could not establish the connection - Spring Forum

    spring.io | 8 months ago
    java.lang.IllegalStateException: Unexpected exception thrown by method - java.sql.SQLException: Io exception: The Network Adapter could not establish the connectionDSRA0010E: SQL State = null, Error Code = 17,002
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Could not access method: Class org.springframework.util.ReflectionUtils can not access a member of class com.example.MyEventHandler with modifiers "public"

      at org.springframework.util.ReflectionUtils.handleReflectionException()
    2. Spring Core
      ReflectionUtils.invokeMethod
      1. org.springframework.util.ReflectionUtils.handleReflectionException(ReflectionUtils.java:271)
      2. org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:214)
      2 frames
    3. Spring Data REST - Core
      AnnotatedEventHandlerInvoker.onApplicationEvent
      1. org.springframework.data.rest.core.event.AnnotatedEventHandlerInvoker.onApplicationEvent(AnnotatedEventHandlerInvoker.java:92)
      1 frame