企业版2.0多数据源报错

提问 未结 1 96
Lonny
Lonny VIP2 2019-05-10
悬赏:20积分
版本:renren-security 浏览器:
java.lang.IllegalStateException: dbType not support : null, url null at com.alibaba.druid.wall.WallFilter.init(WallFilter.java:159) at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:762) at io.renren.commons.dynamic.datasource.config.DynamicDataSourceFactory.buildDruidDataSource(DynamicDataSourceFactory.java:48) at io.renren.commons.dynamic.datasource.config.DynamicDataSourceConfig.dynamicDataSource(DynamicDataSourceConfig.java:47) at io.renren.commons.dynamic.datasource.config.DynamicDataSourceConfig$$EnhancerBySpringCGLIB$$409be118.CGLIB$dynamicDataSource$1(<generated>) at io.renren.commons.dynamic.datasource.config.DynamicDataSourceConfig$$EnhancerBySpringCGLIB$$409be118$$FastClassBySpringCGLIB$$c6f564a9.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:365) at io.renren.commons.dynamic.datasource.config.DynamicDataSourceConfig$$EnhancerBySpringCGLIB$$409be118.dynamicDataSource(<generated>) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:583)
回帖