Tomcat连接Oracle时报错:Could not get JDBC Connection;
typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatprevent...
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:523)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:587)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:616)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:624)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:656)
org.springframework.jdbc.core.JdbcTemplate.queryForList(JdbcTemplate.java:722)
net.optix.common.db.BaseDAO.query(BaseDAO.java:104)
net.optix.common.app.UserHandle.getUser(UserHandle.java:28)
net.optix.common.interceptors.OptixInterceptor.intercept(OptixInterceptor.java:47)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:498)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:434)
net.optix.common.filter.OptixCacheFilter.doFilter(OptixCacheFilter.java:54)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.34 logs. 展开
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:523)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:587)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:616)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:624)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:656)
org.springframework.jdbc.core.JdbcTemplate.queryForList(JdbcTemplate.java:722)
net.optix.common.db.BaseDAO.query(BaseDAO.java:104)
net.optix.common.app.UserHandle.getUser(UserHandle.java:28)
net.optix.common.interceptors.OptixInterceptor.intercept(OptixInterceptor.java:47)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:498)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:434)
net.optix.common.filter.OptixCacheFilter.doFilter(OptixCacheFilter.java:54)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.34 logs. 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询