課程
/后端開發
/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.
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2017-07-21
要把你的mysql的驅動包放到你的jre/lib/ext下