ssh2做的,在自己的机器上测试好好的,拿给老师就报错。struts报错如下:
A ResourcePool could not acquire a resource from its primary factory or source.
Connections could not be acquired from the underlying database!
Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Connections could not be acquired from the underlying database!; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!
后尝试用自己新建的登录名登陆management studio,居然报错18456。。。
找了N久(主要是一份不是该问题的解决答案被N多网站copy。。。)终于找到了~
然后就好了~