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
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The Network Adapter could not establish the connection - Spring Forum

    spring.io | 9 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