Home > Back-end >  Java. Lang. NoSuchMethodError online for a long time did not solve the problem.
Java. Lang. NoSuchMethodError online for a long time did not solve the problem.

Time:09-21

Severe: Exception sending the context the initialized the event to the listener instance of the class com. M frameproject. Listener. SpringListener
Java. Lang. NoSuchMethodError: org. Springframework. Expression. Spel. SpelParserConfiguration. & lt; Init> (Lorg/springframework/expression/spel/SpelCompilerMode; Ljava/lang/this) V
The at org. Springframework. Context. Expression. StandardBeanExpressionResolver. & lt; Init> (StandardBeanExpressionResolver. Java: 98)
The at org. Springframework. Context. Support. AbstractApplicationContext. PrepareBeanFactory (AbstractApplicationContext. Java: 625)
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 513)
The at org. Springframework. Context. Support. ClassPathXmlApplicationContext. & lt; Init> (ClassPathXmlApplicationContext. Java: 139)
The at org. Springframework. Context. Support. ClassPathXmlApplicationContext. & lt; Init> (ClassPathXmlApplicationContext. Java: 83)
At com. Geek. Frameproject. Utils. SpringUtil. & lt; Clinit> (SpringUtil. Java: 14)
The at Java. Lang. Class. ForName0 (Native Method)
The at Java. Lang. Class.forname (264) Class. Java:
At com. Geek. Frameproject. Listener. SpringListener. ContextInitialized (SpringListener. Java: 22)
The at org. Apache. Catalina. Core. StandardContext. ListenerStart (StandardContext. Java: 4793)
The at org. Apache. Catalina. Core. StandardContext. StartInternal (StandardContext. Java: 5236)
The at org. Apache. Catalina. Util. LifecycleBase. Start (LifecycleBase. Java: 150)
The at org. Apache. Catalina. Core. ContainerBase $StartChild. Call (1408) ContainerBase. Java:
The at org. Apache. Catalina. Core. ContainerBase $StartChild. Call (1398) ContainerBase. Java:
The at Java. Util. Concurrent. FutureTask. Run (FutureTask. Java: 266)
The at Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1142)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 617)
The at Java. Lang. Thread. The run (Thread. Java: 745) [/color]

CodePudding user response:

Spring version problem??? ,,,,,, jars to stick out and have a look

CodePudding user response:

This is caused by a mixture of different versions, carefully check your quote jars, whether version, or at the same time there are two versions

CodePudding user response:

Good thank you I has been solved,

CodePudding user response:

How to solve of, I also met such an error

CodePudding user response:

reference zaoHz reply: 3/f
ok thank you I have already solved,


How to solve of, I also met such an error

CodePudding user response:

reference 5 floor u010448530 reply:
Quote: refer to the third floor zaoHz response:

Good thank you I have resolved the,


How to solve of, I also met such an error

Upstairs is not to say, the version conflict... Such as the spring of A class in the jar mybatis methods of class B C of the jar, but mybatis version in the version with spring calls, there is no C class B method, it will be submitted to the the wrong

CodePudding user response:

Is caused by inconsistent package version
  • Related