Struts Problem Report
Struts has detected an unhandled exception:
Messages: |
|
File: | java/sql/DriverManager.java |
Line number: | 604 |
调试了半天,在@test程序中都能连接数据库正确
后来在 hibernate.cfg.xml中加入
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
就正常运行了