longfangwei opened a new issue, #21081:
URL: https://github.com/apache/shardingsphere/issues/21081
### Which version of ShardingSphere did you use?
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere-jdbc-core-spring-boot-starter</artifactId>
<version>5.1.1</version>
</dependency>
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
### Expected behavior
Database sub database and table sub database and table sub database and
table sub table succeeded through user-defined algorithm strategy
### Actual behavior

If the shardingsphere rules are used, the property 'sqlSessionFactory' or
'sqlSessionTemplate' are required exception will result. If the shardingsphere
rules are not used, that is, if the rules are removed, the project can be
started normally, but the user-defined table splitting policy will not be
followed.
### Reason analyze (If you can)
It may be a jar package problem, because our separate spring boot demo is
OK, but it can't be integrated into the project. The project references
multiple data sources, but it doesn't seem to have much impact.
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule
configuration, when exception occur etc.
I will give you the demo project code to help you look at it. Thank you
### Example codes for reproduce this issue (such as a github link).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail:
[email protected]
For queries about this service, please contact Infrastructure at:
[email protected]