DataEase 版本:码云dev分支最新代码、运行方式:源码运行
新建Oracle数据源获取Schema失败,提示java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver,oracle版本是12,自己上传驱动也不行,也是报这个错,具体错误如下
2024-03-13 15:57:11,366 ERROR cat].[localhost].[/].[dispatcherServlet]: 175 - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is io.dataease.plugins.common.exception.DataEaseException: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver] with root cause
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at io.dataease.plugins.datasource.provider.ExtendedJdbcClassLoader.loadClass(ExtendedJdbcClassLoader.java:74)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at io.dataease.provider.datasource.JdbcProvider.getConnection(JdbcProvider.java:598)
at io.dataease.plugins.datasource.provider.DefaultJdbcProvider.getSchema(DefaultJdbcProvider.java:251)
at io.dataease.service.datasource.DatasourceService.getSchema(DatasourceService.java:426)
at io.dataease.service.datasource.DatasourceService$$FastClassBySpringCGLIB$$2ccad08e.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692)
at io.dataease.service.datasource.DatasourceService$$EnhancerBySpringCGLIB$$a82b9a6.getSchema()
at io.dataease.service.datasource.DatasourceService$$FastClassBySpringCGLIB$$2ccad08e.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at io.dataease.service.datasource.DatasourceService$$EnhancerBySpringCGLIB$$2713dd13.getSchema()
at io.dataease.controller.datasource.DatasourceController.getSchema(DatasourceController.java:154)
at io.dataease.controller.datasource.DatasourceController$$FastClassBySpringCGLIB$$6b265e6.invoke()