liubao68 commented on issue #2821:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/2821#issuecomment-1786401370

   I tested 2.8.x and 3.0.0, will throw exception
   
   ```
   Exception in thread "main" java.lang.IllegalStateException: ServiceComb init 
failed.
        at org.apache.servicecomb.core.SCBEngine.run(SCBEngine.java:335)
        at 
org.apache.servicecomb.core.SCBApplicationListener.onApplicationEvent(SCBApplicationListener.java:89)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
        at 
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
        at 
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378)
        at 
org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586)
        at 
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:144)
        at 
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:95)
        at 
org.apache.servicecomb.foundation.common.utils.BeanUtils.init(BeanUtils.java:65)
        at 
org.apache.servicecomb.foundation.common.utils.BeanUtils.init(BeanUtils.java:56)
        at 
org.apache.servicecomb.demo.springmvc.SpringmvcServer.main(SpringmvcServer.java:26)
   Caused by: java.lang.IllegalStateException: failed to register SchemaMeta 
caused by duplicated schemaId, appId=springmvctest, microserviceName=springmvc, 
schemaId=RetrySchema.
        at 
org.apache.servicecomb.core.definition.MicroserviceMeta.registerSchemaMeta(MicroserviceMeta.java:125)
        at 
org.apache.servicecomb.core.provider.producer.ProducerProviderManager.registerSchema(ProducerProviderManager.java:106)
        at 
org.apache.servicecomb.core.provider.producer.ProducerProviderManager.registerProducerMetas(ProducerProviderManager.java:87)
        at 
org.apache.servicecomb.core.provider.producer.ProducerProviderManager.init(ProducerProviderManager.java:73)
        at org.apache.servicecomb.core.SCBEngine.doRun(SCBEngine.java:375)
        at org.apache.servicecomb.core.SCBEngine.run(SCBEngine.java:322)
        ... 13 more
   ```
   
   Will not fix in 1.3.x any more, please upgrade. 
   


-- 
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-unsubscr...@servicecomb.apache.org

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

Reply via email to