该来该去出现各种报错连接不上数据库
Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
最后发现我的jdbc.properties文件是这样写的
配置数据源对象是这样写的
一直有{jdbc.driver}注册不成功
后来发现竟然是配置jdbc.properties文件写法有问题
前面都加上 jdbc. 就好了