严重: Servlet.service() for servlet [springMvc] in context with path [/BimoAPI] threw exception [Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.TransactionException: JDBC begin transaction failed: ] with root cause
java.sql.SQLException: Couldn't perform the operation getAutoCommit: You can't perform any operations on this connection. It has been automatically closed by Proxool for some reason (see logs).
at org.logicalcobwebs.proxool.WrappedConnection.invoke(WrappedConnection.java:207)
at org.logicalcobwebs.proxool.WrappedConnection.intercept(WrappedConnection.java:87)****
已采纳
javaweb项目连接本地数据库就没错,连接远程数据库(程序运行后登陆)就出错,数据都是一样的
- 写回答
- 好问题 提建议
- 追加酬金
- 关注问题
- 分享
- 邀请回答