StandardEnvironment.<init>() has thrown a NoSuchMethodError

Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.

Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed. @author unascribed @since JDK1.0

at org.springframework.core.env.AbstractPropertyResolver.<init>
at org.springframework.core.env.PropertySourcesPropertyResolver.<init>
at org.springframework.core.env.AbstractEnvironment.<init>
at org.springframework.core.env.StandardEnvironment.<init>
4 frames hidden

Typical Exception Messages

  1. org.springframework.util.ClassUtils.getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
  2. <No message>

Specific cases

External results for this pattern (1)

  1. Jackvia Stack Overflow4 months ago
    Show stack trace