rongdafeng opened a new issue, #3496: URL: https://github.com/apache/servicecomb-java-chassis/issues/3496
我们是springboot,用普通的方法集成cse的话,需要改动大量代码,但是现在要集成cloudmap,就必须依赖cse,之前说可以通过代码中加载cse的方法,实现只在rpc的时候才使用cse,但是我们在集成的时候,发现报错 2022-11-23 15:58:54[WARN][REQ-][main][AbstractApplicationContext.java-591]-Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'InnerCSEService' defined in class path resource [com/huawei/mycloud/cse/CSEConfigurer.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name '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 十一月 23, 2022 3:58:54 下午 org.apache.catalina.core.StandardService stopInternal -- 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]
