课程
/后端开发
/Java
/使用Struts2+Hibernate开发学生信息管理功能
url都是之前运行没问题的直接复制的,驱动jar包也放到lib目录下并且已经build path了,但是还是提示这个错误...
2017-07-13
源自:使用Struts2+Hibernate开发学生信息管理功能 2-6
正在回答
要把你的mysql的驱动包放到你的jre/lib/ext下
举报
Strust2+Hibernate整合开发案例,Java Web开发技能更上一层楼
5 回答No suitable driver found for jdbc:mysql:///test?useUnicode=true&characterEncoding=UTF-8
2 回答报错:Caused by: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8
4 回答页面调用登录失败,控制台报No suitable driver found for jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8 org.hibernate.exception.JDBCConnectionException: Could not open connection,在action打印用户登录名为空
1 回答No appenders could be found for logger (org.hibernate.cfg.Environment).
1 回答登陆界面提示There is no Action mapped for action name Users_login.
购课补贴联系客服咨询优惠详情
慕课网APP您的移动学习伙伴
扫描二维码关注慕课网微信公众号