码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2017-10-12 19:02:18      阅读:1286      评论:0      收藏:0      [点我收藏+]

标签:not   集成   pat   sse   images   path   .com   cep   tac   

参考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. Then技术分享

 

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

标签:not   集成   pat   sse   images   path   .com   cep   tac   

原文地址:http://www.cnblogs.com/handsomeBoys/p/7657318.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!