java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

后端 未结 30 1650
南旧
南旧 2020-11-22 16:58

I included these in the Build Path:

  • all Spring libs
  • Apache Tomcat 7.0 library

The project still fails during startup:

30条回答
  •  暖寄归人
    2020-11-22 17:36

    You have to use at least version 3.2.8.RELEASE of spring-core.

    For Maven, set in your pom.xml:

    
        org.springframework
        spring-core
        3.2.8.RELEASE
    
    

    Source: http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/cglib/core/SpringNamingPolicy.html, since 3.2.8.

提交回复
热议问题