xiaofeixia opened a new issue #16182:
URL: https://github.com/apache/shardingsphere/issues/16182
升级到sharding-jdbc-spring-namespace,由3.0.0.M4 至4.0.1版本 和集成的apollo冲突,导致启动失败
pom.xml:
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-spring-namespace</artifactId>
<version>4.0.1</version>
</dependency>
<dependency>
<groupId>com.ctrip.framework.apollo</groupId>
<artifactId>apollo-client</artifactId>
<version>1.5.1.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.ctrip.framework.apollo</groupId>
<artifactId>apollo-core</artifactId>
<version>1.5.1.1-SNAPSHOT</version>
</dependency>
======================================================================
启动时,报这个错误:
message:Error creating bean with name
'com.ctrip.framework.apollo.spring.property.SpringValueDefinitionProcessor':
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[com.ctrip.framework.apollo.spring.property.SpringValueDefinitionProcessor]:
Constructor threw exception; nested exception is
com.ctrip.framework.apollo.exceptions.ApolloConfigException: Unable to load
instance for type
com.ctrip.framework.apollo.util.ConfigUtil!,org.springframework.beans.factory.BeanCreationException:
Error creating bean with name
'com.ctrip.framework.apollo.spring.property.SpringValueDefinitionProcessor':
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[com.ctrip.framework.apollo.spring.property.SpringValueDefinitionProcessor]:
Constructor threw exception; nested exception is
com.ctrip.framework.apollo.exceptions.ApolloConfigException: Unable to loa
d instance for type com.ctrip.framework.apollo.util.ConfigUtil!
有没有什么好的建议,如何解决?
--
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]