为了账号安全,请及时绑定邮箱和手机立即绑定

为什么我按着老师的代码自己写下来,会出现CannotLoadBeanClassException这个错误

583  [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory  - Ignoring bean class loading failure for bean 'viewResolverInstance'
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.web.view.ContentNegotiatingViewResolver] for bean with name 'viewResolverInstance' defined in ServletContext resource [/WEB-INF/configs/spring/mvc-dispatcher-servlet.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.web.view.ContentNegotiatingViewResolver



难道还要手动把org.springframework.web.view.ContentNegotiatingViewResolver编译一下么?

正在回答

举报

0/150
提交
取消

为什么我按着老师的代码自己写下来,会出现CannotLoadBeanClassException这个错误

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号