Connections could not be acquired from the unde...

需要部署项目到服务器

本地测试一切正常,到服务器就是不行

琢磨了两天,就是没有想到环境

[code="java"]

java --version
java version "1.5.0"
gij (GNU libgcj) version 4.4.7 20120313 (Red Hat 4.4.7-3)


Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@铂金osc ~]# 

[/code]


导出一个jar测试连接,报错。。。恍然大悟,是jdk环境的问题,写下来帮助其他和我一样迷茫的人儿吧

安装openjdk1.7.0正常


经验总结很必要


再此感谢@mike_liu ,@JFinal



你可能感兴趣的:(Connections could not be acquired from the unde...)