Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNest

邹山
2023-12-01

 Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNest

检查用户名密码可以正确,plsql数据库可以正常连接

检查日志后发现

2017-10-24 08:56:05, 218 DEBUG JndiLocatorDelegate:101 - Converted JNDI name [java:comp/env/spring.liveBeansView.mbeanDomain] not found - trying original name [spring.liveBeansView.mbeanDomain]. javax.naming.NameNotFoundException: Name spring.liveBeansView.mbeanDomain is not bound in this Context
2017-10-24 08:56:05, 218 DEBUG JndiTemplate:150 - Looking up JNDI object with name [spring.liveBeansView.mbeanDomain]
2017-10-24 08:56:05, 218 DEBUG JndiPropertySource:87 - JNDI lookup for name [spring.liveBeansView.mbeanDomain] threw NamingException with message: Name spring.liveBeansView.mbeanDomain is not bound in this Context. Returning null.
2017-10-24 08:56:05, 218 DEBUG PropertySourcesPropertyResolver:70 - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemProperties]
2017-10-24 08:56:05, 218 DEBUG PropertySourcesPropertyResolver:70 - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemEnvironment]
2017-10-24 08:56:05, 218 DEBUG PropertySourcesPropertyResolver:93 - Could not find key 'spring.liveBeansView.mbeanDomain' in any property source. Returning [null]
2017-10-24 08:56:05, 218 DEBUG DefaultListableBeanFactory:246 - Returning cached instance of singleton bean 'cxf'
2017-10-24 08:56:05, 218 DEBUG DefaultResourceManager:103 - resolving resource </WEB-INF/cxfServletStaticResourcesMap.txt> type <class java.io.InputStream>
2017-10-24 08:56:05, 218 DEBUG DefaultResourceManager:103 - resolving resource </cxfServletStaticResourcesMap.txt> type <class java.io.InputStream>
2017-10-24 8:56:06 org.apache.catalina.loader.WebappClassLoader validateJarFile

jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

据我所知这个错误是jar包重复,而几分钟之前我还正常运行程序

解决方案:

清除tomcat中之前的记录,查看tomcat中webapps里查看是否文件过多。

全部删除重新编译后问题解决。


 类似资料:

相关阅读

相关文章

相关问答