NoSuchMethodError: org.springframework.beans.factory.xml.XmlReaderContext.getEnvironment()Lorg/springframework/core/env/Environment; With zkoss

前端 未结 5 1131
囚心锁ツ
囚心锁ツ 2021-01-17 10:13

I am facing following error,

java.lang.NoSuchMethodError: org.springframework.beans.factory.xml.XmlReaderContext.getEnvironment()Lorg/springframework/core/e         


        
5条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-17 11:06

    If this error is thrown at server during starting/deploying web application, then

    1. Find jar which contains mentioned class in your project org.springframework.beans.factory.xml.XmlReaderContext

    2. Try find the same jar at the server in common lib folder.

    3. Set the same version of jar or put provided scope in pom.xml file

提交回复
热议问题