ReflectionUtils.invokeMethod() has thrown an IllegalStateException

java.lang.IllegalStateException
Signals that a method has been invoked at an illegal or inappropriate time. In other words, the Java environment or Java application is not in an appropriate state for the requested operation. @author Jonni Kanerva @since JDK1.1
at org.springframework.util.ReflectionUtils.handleReflectionException
at org.springframework.util.ReflectionUtils.invokeMethod

Matching stack traces (2)

  1. Chris Beamsvia Spring JIRA1 year ago
    Could not access method: Class org.springframework.util.ReflectionUtils can not access a member of class com.example.MyEventHandler with modifiers "public"
  2. Chris Beamsvia Spring JIRA2 years ago
    Could not access method: Class org.springframework.util.ReflectionUtils can not access a member of class com.example.MyEventHandler with modifiers "public"

Typical exception messages

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