-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
积木报表不支持sap的hana数据库,在多数据源的情况下怎么屏蔽hana的数据库呢 #2590
Comments
可参考改文档,给积木报表分配独立的数据源:https://help.jeecg.com/jimureport/config/multdb.html |
cr |
积木报表默认只会使用master数据源,并不会使用从属数据源。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
版本号:
1.7.4
问题描述:
springboot项目集成积木报表启动时,报dbType not support,项目配置了mysql、sqlserver和sap hana三个数据库的数据源,但是hana数据库积木报表不支持,那么积木报表能否屏蔽hana数据库使用呢?
错误日志&截图:
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.health.HealthEndpoint]: Factory method 'healthEndpoint' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.actuate.autoconfigure.jdbc.DataSourceHealthIndicatorAutoConfiguration': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.autoconfigure.jdbc.DataSourceHealthIndicatorAutoConfiguration$$EnhancerBySpringCGLIB$$8f323488]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [com/yjh/mushroom/shardingjdbc/configuration/ShardingJdbcDataSourceConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: dbType not support : null, url jdbc:sap://192.168.33.171:31015?reconnect=true
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:583)
... 49 common frames omitted
重现步骤:
项目配置多数据源启动
友情提示(为了提高issue处理效率):
The text was updated successfully, but these errors were encountered: