部署项目在启动tomcat时出现一个错误

Lljsix 发布于 2016/07/12 14:44
阅读 339
收藏 0

【深度】AI、5G时代下,算力网络与内生安全最全解析!>>>

log中出现的错误如下:

java.lang.IllegalStateException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1600)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
        at com.alibaba.druid.stat.JdbcSqlStat.getContextSqlFile(JdbcSqlStat.java:272)
        at com.alibaba.druid.pool.DruidAbstractDataSource.testConnectionInternal(DruidAbstractDataSource.java:1234)
        at com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:956)
        at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:4544)
        at com.alibaba.druid.filter.FilterAdapter.dataSource_getConnection(FilterAdapter.java:2723)
        at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:4540)
        at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:894)
        at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:886)
        at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:96)
        at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
        at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
        at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:382)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:456)
        at org.springframework.jdbc.core.JdbcTemplate.queryForRowSet(JdbcTemplate.java:501)
        at com.shx.xlcl.utils.cache.internal.KeyValueDao.queryForRowSet(KeyValueDao.java:28)
        at com.shx.xlcl.utils.cache.KeyValueUtils.load(KeyValueUtils.java:90)
        at com.shx.xlcl.utils.cache.KeyValueUtils.access$000(KeyValueUtils.java:32)
        at com.shx.xlcl.utils.cache.KeyValueUtils$1.run(KeyValueUtils.java:62)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)

加载中
0
Mr_K
Mr_K
spring的dataSource数据源读取错误?
返回顶部
顶部