关于运行项目

来源:1-3 (补充)项目源码导入,配置,运行,入坑,出坑-1

Sun_yg

2020-06-11

我按照视频上的导入工程一系列操作 然后clean install也是success 但运行tomcat时候tomcat报错 然后页面404该怎么解决
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.online.college.web.auth.AuthFilter] for bean with name ‘authFilter’ defined in class path resource [shiro.xml]; nested exception is java.lang.ClassNotFoundException: com.online.college.web.auth.AuthFilter

Related cause:
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.online.college.web.auth.AuthRealm] for bean with name ‘authRealm’ defined in class path resource [shiro.xml]; nested exception is java.lang.ClassNotFoundException: com.online.college.web.auth.AuthRealm

写回答

1回答

祁聪

2020-06-12

项目上demploy accembly 配置一下maven依赖,然后在ocProject项目上运行一下 maven install,应该就好了;群里有导入项目word文档;;如果还不行,就qq私聊我也行

0
0

Java SSM快速开发仿慕课网在线教育平台

学习整合微信公众平台开发、新浪SAE云平台、七牛云、分布式部署等等

1074 学习 · 449 问题

查看课程