参考stackoverflow:https://stackoverflow.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

 

相关文章:

  • 2022-12-23
  • 2021-12-25
  • 2021-11-21
  • 2021-07-24
  • 2022-01-13
  • 2021-11-14
猜你喜欢
  • 2022-12-23
  • 2021-06-04
  • 2021-07-23
  • 2022-12-23
  • 2021-06-26
  • 2021-08-02
相关资源
相似解决方案