Comven opened a new issue, #38328:
URL: https://github.com/apache/shardingsphere/issues/38328
After upgrading from 5.5.2 to 5.5.3, an exception was thrown as follows
```log
Caused by:
org.apache.shardingsphere.infra.spi.exception.ServiceProviderNotFoundException:
SPI-00001: No implementation class load from SPI
'org.apache.shardingsphere.infra.url.spi.ShardingSphereModeConfigurationURLLoader'
with type 'absolutepath:'.
at
org.apache.shardingsphere.driver.jdbc.core.driver.ShardingSphereURLLoadEngine.loadContent(ShardingSphereURLLoadEngine.java:57)
at
org.apache.shardingsphere.driver.jdbc.core.driver.DriverDataSourceCache.createDataSource(DriverDataSourceCache.java:58)
at
org.apache.shardingsphere.driver.jdbc.core.driver.DriverDataSourceCache.lambda$get$0(DriverDataSourceCache.java:51)
at
java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
at
org.apache.shardingsphere.driver.jdbc.core.driver.DriverDataSourceCache.get(DriverDataSourceCache.java:51)
at
org.apache.shardingsphere.driver.ShardingSphereDriver.connect(ShardingSphereDriver.java:57)
at
com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:127)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:370)
```
The introduced dependencies are as follows:
```xml
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere-sharding-core</artifactId>
<version>5.5.3</version>
</dependency>
<dependency><groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere-jdbc-dialect-mysql</artifactId>
<version>5.5.3</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere-standalone-mode-repository-jdbc</artifactId>
<version>5.5.3</version>
</dependency>
```
The configuration method is as follows:
```properties
spring.datasource.driver-class-name=org.apache.shardingsphere.driver.ShardingSphereDriver
spring.datasource.url=jdbc:shardingsphere:classpath:application-sharding.yaml
```
The database configuration file `application-sharding.yaml` remains
unchanged from the previous version 5.5.2. It feels like I suddenly can't load
the configuration files under the classpath. Does anyone know the reason?
--
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]