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

后端 未结 30 1602
南旧
南旧 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:14

    If everything mentioned above does not work try the following. It worked for me.

    Remove your project from the server > Restart server > Add your project to server > Restart server.

    Detailed Instruction:

    1. Right click on server > Add and Remove
    2. Select your project > Remove > Finish
    3. Restart your server
    4. Right click on server > Add and Remove
    5. Select your project > Add > Finish
    6. Restart your server again.
    

提交回复
热议问题