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

eclipse中报错HTTP Status 500 - Servlet.init() for servlet SSMTest-dispatcher threw exception

eclipse中项目名称叫SSMTest  从index.jsp启动后路径是http://localhost:8080/SSMTest/index.jsp 是不是改成http://localhost:8080/SSMTest/seckill/list就行了? 报错org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file

正在回答

1 回答

项目的访问路径,就按照你controller里所写的访问就好。

你报错的信息BeanCreationException来看他说的是 spring Bean 创建的异常,“Error creating bean with name 'sqlSessionFactory' defined in file” 它的意思就是说 在你的spring配置文件中 没有“sqlSessionFactory”相关的配置,所以你检查一下配置文件是否配置正确,配置文件是否加载,以及相关jar包是否完整等

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

eclipse中报错HTTP Status 500 - Servlet.init() for servlet SSMTest-dispatcher threw exception

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

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

帮助反馈 APP下载

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

公众号

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