terrymanu commented on issue #38336:
URL:
https://github.com/apache/shardingsphere/issues/38336#issuecomment-3996361621
The root cause is that after upgrading to 5.5.3, shardingsphere-jdbc changed
from “bundling many dependencies by default” to a “core + optional plugins”
model.
Your config uses Hikari + SQL Server + ZooKeeper (Cluster), but the
required optional plugins were not fully included. As a result, some SPI
components were missing at runtime, and startup failed during pool
initialization.
For your setup, you should include at least these dependencies:
1. org.apache.shardingsphere:shardingsphere-infra-data-source-pool-hikari
2. org.apache.shardingsphere:shardingsphere-jdbc-dialect-sqlserver (and
keep com.microsoft.sqlserver:mssql-jdbc)
3.
org.apache.shardingsphere:shardingsphere-cluster-mode-repository-zookeeper
(because mode.repository.type=ZooKeeper)
The most direct missing dependency behind this specific error is item #1
(as confirmed by your own issue comment after adding it).
--
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]