You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by "qiuchao123 (via GitHub)" <gi...@apache.org> on 2024/03/26 09:33:28 UTC

[I] org.apache.servicecomb.foundation.common.utils.BeanUtils多提供一个initWithoutDefaultResource方法 [servicecomb-java-chassis]

qiuchao123 opened a new issue, #4269:
URL: https://github.com/apache/servicecomb-java-chassis/issues/4269

   原因:当前我们业务初始化会使用org.apache.servicecomb.foundation.common.utils.BeanUtils加载classpath*:META-INF/spring/*.xml,包含DEFAULT_BEAN_RESOURCE:classpath*:META-INF/spring/*.bean.xml,导致cse.bean生成了两个SCBApplicationListene bean实例,启动抛了Registry has already bean initialized and not allowed to initialize twice.异常。
   ![image](https://github.com/apache/servicecomb-java-chassis/assets/42757982/5c74ba28-a38b-4e73-8181-b4ea1293533c)
   
   期望:能加一个initWithoutDefaultResource方法,不加载DEFAULT_BEAN_RESOURCE
   ![image](https://github.com/apache/servicecomb-java-chassis/assets/42757982/235472c6-1ba8-4079-bd80-e167764ae81e)
   


-- 
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: commits-unsubscribe@servicecomb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] org.apache.servicecomb.foundation.common.utils.BeanUtils多提供一个initWithoutDefaultResource方法 [servicecomb-java-chassis]

Posted by "liubao68 (via GitHub)" <gi...@apache.org>.
liubao68 commented on issue #4269:
URL: https://github.com/apache/servicecomb-java-chassis/issues/4269#issuecomment-2024568232

   Fixed in https://github.com/apache/servicecomb-java-chassis/pull/4274


-- 
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: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] org.apache.servicecomb.foundation.common.utils.BeanUtils多提供一个initWithoutDefaultResource方法 [servicecomb-java-chassis]

Posted by "liubao68 (via GitHub)" <gi...@apache.org>.
liubao68 closed issue #4269: org.apache.servicecomb.foundation.common.utils.BeanUtils多提供一个initWithoutDefaultResource方法
URL: https://github.com/apache/servicecomb-java-chassis/issues/4269


-- 
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: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org