Silecne666 commented on issue #25163:
URL:
https://github.com/apache/shardingsphere/issues/25163#issuecomment-1508156696
OK,But when I was using cluster mode, I encountered a problem again. I used
Nacos as the registration center and reported an error when starting it,
```
mode:
type: Cluster
repository:
type: nacos
props:
clusterIp: 10.254.1.228:8848 #nacos ip & port
retryIntervalMilliseconds: 500
timeToLiveSeconds: 60
maxRetries: 3
timeToLiveSeconds: 30
```
error logs
```
Exception in thread "main"
org.apache.shardingsphere.infra.util.spi.exception.ServiceProviderNotFoundServerException:
SPI-00001: No implementation class load from SPI
`org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository`.
at
org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPILoader.lambda$getService$2(TypedSPILoader.java:126)
at java.util.Optional.orElseThrow(Optional.java:290)
at
org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPILoader.lambda$getService$3(TypedSPILoader.java:126)
at java.util.Optional.orElseGet(Optional.java:267)
at
org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPILoader.getService(TypedSPILoader.java:126)
at
org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.getClusterPersistRepository(ClusterContextManagerBuilder.java:67)
at
org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.build(ClusterContextManagerBuilder.java:49)
at
org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.createContextManager(BootstrapInitializer.java:69)
at
org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.init(BootstrapInitializer.java:59)
at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:54)
```
--
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]