GenericJDBCException解决

threw exception [Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection] with root cause com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.

解决方式也不难,你还记得你的项目使用了几个数据库?对吧?

2个+

他们是否在同一ip上?改回回同一ip就可以了,ohye

你可能感兴趣的:(GenericJDBCException解决)