xz794273799 opened a new issue #1253: Springboot集成的问题
URL: https://github.com/apache/servicecomb-java-chassis/issues/1253
 
 
   1、不兼容Springboot2,发现ServiceComb引入的Springboot1的包,jar包冲突,服务不能启动
   2、尝试Springboot1的版本
   ServiceComb Java-Chassis 1.2.0
   ServiceComb Java-Chassis 1.1.0
   ServiceComb Java-Chassis 1.0.0
   ServiceComb Java-Chassis 1.0.0-m2
   ServiceComb Java-Chassis 1.0.0-m1
   以上版本都试过一遍,除了1.0.0-m1,其他版本都无法启动,报错如下:
   2019-07-01 18:34:39.333  WARN 6276 --- [           main] 
ationConfigEmbeddedWebApplicationContext : Exception encountered during context 
initialization - cancelling refresh attempt: 
org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 
'org.apache.servicecomb.springboot.starter.provider.ServiceCombSpringConfiguration':
 Unsatisfied dependency expressed through method 'setCseApplicationListener' 
parameter 0; nested exception is 
org.springframework.beans.factory.NoUniqueBeanDefinitionException: No 
qualifying bean of type 'org.apache.servicecomb.core.CseApplicationListener' 
available: expected single matching bean but found 2: 
org.apache.servicecomb.core.CseApplicationListener#0,org.apache.servicecomb.core.CseApplicationListener#1

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to