You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/04/10 06:33:32 UTC

[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #1706: springboot2+cse,启动类添加@EnableServiceComb注解,报错: CseApplicationListener有多个实现,无法注入

liubao68 commented on issue #1706: springboot2+cse,启动类添加@EnableServiceComb注解,报错: CseApplicationListener有多个实现,无法注入
URL: https://github.com/apache/servicecomb-java-chassis/issues/1706#issuecomment-611900761
 
 
   有可能是 pom 配置不对,导致 bean 被加载了两次。 或者是运行于 tomcat 环境, web.xml 配置不对,导致了 bean 被加载了两次。 
   
   可以看下这个 [starter 说明](https://docs.servicecomb.io/java-chassis/zh_CN/using-java-chassis-in-spring-boot/components-for-spring-boot/),和对应的示例

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services