idea/ecipse中使用maven集成springmvc相关jar包时候,出错:java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet

参考*:https://*.com/questions/11227395/java-lang-classnotfoundexception-org-springframework-web-servlet-dispatcherserv

eclipse中:

  • right click on your project and choose properties.
  • click on Deployment Assembly.
  • click add
  • click on "Java Build Path Entries"
  • select Maven Dependencies"
  • click Finish.

idea中:

In idea Intellij you need to go to File -> Project Settings -> Artifacts. Thenidea/ecipse中使用maven集成springmvc相关jar包时候,出错:java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet

上一篇:求知的木头 Cannot load browser "PhantomJS": it is not registered! Perhaps you are missing some plugin? 测试安装遇到的BUG


下一篇:Alpha冲刺(9/10)