Home > Database > Mysql Tutorial > java-Java的框架SSH整合的项目,项目启动时总是会报一个莫名其妙的错误?

java-Java的框架SSH整合的项目,项目启动时总是会报一个莫名其妙的错误?

WBOY
Release: 2016-06-06 09:33:22
Original
1103 people have browsed it

java框架mysqljava ssh数据库连接池

Unable to load configuration. - [unknown location]

Caused by: Unable to load configuration. - [unknown location]

Caused by: Unable to load jar:file:/D:/mars-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/vvvvvvvvvvv/WEB-INF/lib/struts2-spring-plugin-2.3.15.3.jar!/struts-plugin.xml - [unknown location]

Caused by: Connection timed out: connect - [unknown location]

Caused by: java.net.ConnectException: Connection timed out: connect

个人分析应该不是jar包冲突的问题,因为项目以前是可以正常运行的,以前出过一次这样的问题,但是放了两天之后再运行又可以正常运行了。。。。现在又出现了这样的问题,百度上有人说是因为查询次数太多导致无法查询,但是如代码所示,无论是在junit测试类中还是在spring容器刚刚初始化完成利用监听器立即查询所有权限的功能,均可以正常访问到数据库,所以应该也不是c3p0数据库连接池的原因,整的我现在也不知道到底是什么问题。。求指教。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template