shardingsphere icon indicating copy to clipboard operation
shardingsphere copied to clipboard

No implementation class load from SPI `org.apache.shardingsphere.dbdiscovery.spi.DatabaseDiscoveryProviderAlgorithm` with type `MGR`

Open cunlianer opened this issue 10 months ago • 3 comments

org.apache.shardingsphere.infra.util.spi.exception.ServiceProviderNotFoundServerException: SPI-00001: No implementation class load from SPI org.apache.shardingsphere.dbdiscovery.spi.DatabaseDiscoveryProviderAlgorithm with type MGR. at org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPIRegistry.getRegisteredService(TypedSPIRegistry.java:117) ~[shardingsphere-infra-util-5.2.1.jar:5.2.1] at org.apache.shardingsphere.infra.config.algorithm.ShardingSphereAlgorithmFactory.createAlgorithm(ShardingSphereAlgorithmFactory.java:40) ~[shardingsphere-infra-common-5.2.1.jar:5.2.1] at org.apache.shardingsphere.spring.boot.registry.AbstractAlgorithmProvidedBeanRegistry.registerBean(AbstractAlgorithmProvidedBeanRegistry.java:71) ~[shardingsphere-jdbc-spring-boot-starter-infra-5.2.1.jar:5.2.1] at org.apache.shardingsphere.dbdiscovery.spring.boot.algorithm.DatabaseDiscoveryAlgorithmProvidedBeanRegistry.postProcessBeanDefinitionRegistry(DatabaseDiscoveryAlgorithmProvidedBeanRegistry.java:43) ~[shardingsphere-db-discovery-spring-boot-starter-5.2.1.jar:5.2.1] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311) ~[spring-context-5.3.25.jar:5.3.25] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:142) ~[spring-context-5.3.25.jar:5.3.25] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) ~[spring-context-5.3.25.jar:5.3.25] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) ~[spring-context-5.3.25.jar:5.3.25] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.8.jar:2.7.8] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) [spring-boot-2.7.8.jar:2.7.8] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) [spring-boot-2.7.8.jar:2.7.8] at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) [spring-boot-2.7.8.jar:2.7.8] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) [spring-boot-2.7.8.jar:2.7.8] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) [spring-boot-2.7.8.jar:2.7.8] at com.lyf.logistics.boot.LogisticsApplication.main(LogisticsApplication.java:18) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_382] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_382] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_382] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_382] at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) [spring-boot-devtools-2.7.8.jar:2.7.8] @

cunlianer avatar Apr 19 '24 09:04 cunlianer

Please provide more detailed information.

zzyReal666 avatar Apr 22 '24 06:04 zzyReal666

Maybe you need use 'MySQL.MGR' instead of 'MGR'.

version 5.2.1

image

zzyReal666 avatar Apr 22 '24 07:04 zzyReal666

There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.

github-actions[bot] avatar May 23 '24 20:05 github-actions[bot]

The database discovery feature has been remove form ShardingSphere, please ref #24486

terrymanu avatar Jul 07 '24 03:07 terrymanu