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

前端 未结 5 1160
囚心锁ツ
囚心锁ツ 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 10:49

    I had the same problem as you. Two hours finding was going wrong... After found your question and saw that probably it's a dependency problem.

    It is, I solved this issue just adding spring beans dependency

      
        org.springframework
        spring-beans
        4.1.6.RELEASE
      
    

提交回复
热议问题