terrymanu commented on issue #38328:
URL:
https://github.com/apache/shardingsphere/issues/38328#issuecomment-3995240812
The root cause is a dependency model change in 5.5.3: the SPI
implementation for
`jdbc:shardingsphere:classpath:`
(`org.apache.shardingsphere:shardingsphere-infra-url-classpath`)
is now treated as an optional plugin and is no longer guaranteed to be
present on the runtime classpath via default dependencies.
With your current dependency set, that SPI implementation is missing at
runtime. As a result,
ShardingSphere cannot find the LocalFile URL Loader, falls back to the
ModeConfiguration URL Loader path,
and then throws SPI-00001.
Why it worked in 5.5.2: in many setups, `shardingsphere-jdbc` transitive
dependencies still brought in
the classpath loader. Since 5.5.3, it needs to be added explicitly.
Please add:
```xml
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere-infra-url-classpath</artifactId>
<version>5.5.3</version>
</dependency>
```
--
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]