问题是什么?无法连接数据库?
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (
Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
原文由 ujava 发布,翻译遵循 CC BY-SA 4.0 许可协议
这是问题的 实际 原因:
您有数据库通信链接问题。确保您的应用程序可以通过网络访问您的数据库(并且防火墙不会阻止您的数据库的端口)。