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

idea调试springmvc出现java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

时间:2018-05-25 00:26:43      阅读:235      评论:0      收藏:0      [点我收藏+]

标签:list   artifact   -o   ima   int   ide   dea   alt   exce   

idea调试springmvc出现java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

解决办法:

Project Structure-Artifacts-Output Layout,选择Put into Output Root,这样lib包就会加到WEB-INF下了,就能找到类了:

技术分享图片

技术分享图片

 

idea调试springmvc出现java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

标签:list   artifact   -o   ima   int   ide   dea   alt   exce   

原文地址:https://www.cnblogs.com/stm32stm32/p/9085681.html

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