You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/12/11 10:44:17 UTC

[GitHub] [shardingsphere] twosoy opened a new issue, #22804: SPI-00001: No implementation class load from SPI `org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository` with type `Consul`

twosoy opened a new issue, #22804:
URL: https://github.com/apache/shardingsphere/issues/22804

   version:5.3.0
   ```
   <dependency>
         <groupId>org.apache.shardingsphere</groupId>
         <artifactId>shardingsphere-jdbc-core</artifactId>
         <version>5.3.0</version>
       </dependency>
   
       <dependency>
         <groupId>org.apache.shardingsphere</groupId>
         <artifactId>shardingsphere-cluster-mode-repository-nacos</artifactId>
         <version>5.3.0</version>
       </dependency>
   
   ```
   org.apache.shardingsphere.infra.util.spi.exception.ServiceProviderNotFoundServerException: SPI-00001: No implementation class load from SPI `org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository` with type `Consul`.
   
   META-INF.services is error!
   
   <img width="719" alt="image" src="https://user-images.githubusercontent.com/26370775/206899072-f76ccdd9-3908-4290-ba0e-ad2e7673d056.png">
   
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] twosoy commented on issue #22804: SPI-00001: No implementation class load from SPI `org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository` with type `Consul`

Posted by GitBox <gi...@apache.org>.
twosoy commented on issue #22804:
URL: https://github.com/apache/shardingsphere/issues/22804#issuecomment-1345587000

   Thank You! 
   But,Please check, right?
   
   Is the file content incorrect?
   filename:org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository
   content:org.apache.shardingsphere.mode.repository.cluster.etcd.ConsulRepository
   
   The correct value should be "org.apache.shardingsphere.mode.repository.cluster.consul.ConsulRepository",


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] strongduanmu closed issue #22804: SPI-00001: No implementation class load from SPI `org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository` with type `Consul`

Posted by GitBox <gi...@apache.org>.
strongduanmu closed issue #22804: SPI-00001: No implementation class load from SPI `org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository` with type `Consul`
URL: https://github.com/apache/shardingsphere/issues/22804


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] zhaojinchao95 commented on issue #22804: SPI-00001: No implementation class load from SPI `org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository` with type `Consul`

Posted by GitBox <gi...@apache.org>.
zhaojinchao95 commented on issue #22804:
URL: https://github.com/apache/shardingsphere/issues/22804#issuecomment-1346095716

   @twosoy @sandynz Hi, i will check 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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] sandynz commented on issue #22804: SPI-00001: No implementation class load from SPI `org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository` with type `Consul`

Posted by GitBox <gi...@apache.org>.
sandynz commented on issue #22804:
URL: https://github.com/apache/shardingsphere/issues/22804#issuecomment-1345580957

   Hi @twosoy , thanks for your feedback.
   
   I checked `ConsulRepository` SPI configuration, it's not registred correctly. Looks `shardingsphere/mode/type/cluster/repository/provider/consul/src/main/resources/META-INF.services` path is wrong, `META-INF.services` should be `META-INF/services`.
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] sandynz commented on issue #22804: SPI-00001: No implementation class load from SPI `org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository` with type `Consul`

Posted by GitBox <gi...@apache.org>.
sandynz commented on issue #22804:
URL: https://github.com/apache/shardingsphere/issues/22804#issuecomment-1345762090

   Yes, looks the content is wrong too, it'll be fixed


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org