运行报错,不知道什么原因 java.sql.SQLException: not support oracle driver 1.0

2018-08-21 14:28:45   [org.springframework.beans.factory.config.CustomEditorConfigurer]-[WARN]   Passing PropertyEditor instances into CustomEditorConfigurer is deprecated: use PropertyEditorRegistrars or PropertyEditor class names instead. Offending key [org.codehaus.xfire.service.ServiceFactory; offending editor instance: org.codehaus.xfire.spring.editors.ServiceFactoryEditor@367f1570

  2018-08-21 14:28:53   [com.alibaba.druid.pool.DruidDataSource]-[ERROR]   {dataSource-1} init error

  java.sql.SQLException: not support oracle driver 1.0

at com.alibaba.druid.pool.DruidDataSource.initCheck(DruidDataSource.java:934)

at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:705)

at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1060)

at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1056)

at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:104)

at com.jfinal.plugin.activerecord.TableBuilder.build(TableBuilder.java:43)

at com.jfinal.plugin.activerecord.ActiveRecordPlugin.start(ActiveRecordPlugin.java:226)

at com.jfinal.core.Config.startPlugins(Config.java:107)

at com.jfinal.core.Config.configJFinal(Config.java:51)

at com.jfinal.core.JFinal.init(JFinal.java:63)

at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:49)

at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)

at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)

at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)

at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4809)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5485)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:748)


评论区

JFinal

2018-08-21 14:48

异常已经说得很清楚了:
not support oracle driver 1.0

换 oracle 驱动

jflyx

2018-08-21 14:53

@JFinal 换了也没用

jflyx

2018-08-21 14:54

@JFinal 而且我有个项目也是用那个驱动的

jflyx

2018-08-21 14:56

ojdbc6.jar,ojdbc7.jar,ojdbc14.jar都不行

JFinal

2018-08-21 15:12

@jflyx 升级 druid 试试

jflyx

2018-08-21 15:14

@JFinal 有相关的升级方法吗?或者是直接更换高版本的druidjar包?

jflyx

2018-08-21 15:15

@JFinal 我现在用的是druid-1.0.29.jar这个

1659811173

2019-05-08 10:20

@jflyx 老哥在吗

1659811173

2019-05-08 10:21

你那个问题解决了吗,我现在遇到了这个坑,搞了一天还是不行

1659811173

2019-05-08 10:21

难受的一批

1659811173

2019-05-08 10:22

@JFinal 老哥,换驱动没有用啊

热门反馈

扫码入社