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

  1. Open the project's properties (e.g., right-click on the project's name in the project explorer and select "Properties").
  2. Select "Deployment Assembly".
  3. Click the "Add..." button on the right margin.
  4. Select "Java Build Path Entries" from the menu of Directive Type and click "Next".
  5. Select "Maven Dependencies" from the Java Build Path Entries menu and click "Finish".

You should see "Maven Dependencies" added to the Web Deployment Assembly definition.

posted @ 2016-11-22 13:06  idea偶买噶  阅读(111)  评论(0编辑  收藏  举报