两台ECS,配置一样,1.1.57版本还在顺利运行,1.1.60运行不了
日志错误如下,请问如何解决
INFO 2017-07-11 04:31:52.176 [or.SpringApplication] 开始初始化context.
332 ERROR 2017-07-11 04:31:52.508 [or.SpringApplication] 启动错误:
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.aliyun.tianji.cloudmonitor.SpringApplication]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'systemInfoParamSetter' for bean class [com.aliyun.tianji.cloudmonitor.id.SystemInfoParamSetter] conflicts with existing, non-compatible bean definition of same name and class [com.aliyun.tianji.cloudmonitor.upgrade.SystemInfoParamSetter]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:181)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:321)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:677)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:519)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:84)
at com.aliyun.tianji.cloudmonitor.SpringApplication.run(SpringApplication.java:30)
at com.aliyun.tianji.cloudmonitor.Application.main(Application.java:9)
Caused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'systemInfoParamSetter' for bean class [com.aliyun.tianji.cloudmonitor.id.SystemInfoParamSetter] conflicts with existing, non-compatible bean definition of same name and class [com.aliyun.tianji.cloudmonitor.upgrade.SystemInfoParamSetter]
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.checkCandidate(ClassPathBeanDefinitionScanner.java:320)
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:259)
at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:137)
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:267)
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:231)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:198)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:167)
... 9 more
0 INFO 2017-07-11 04:31:57.174 [or.SpringApplication] 开始初始化context.
321 ERROR 2017-07-11 04:31:57.495 [or.SpringApplication] 启动错误:
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.aliyun.tianji.cloudmonitor.SpringApplication]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'systemInfoParamSetter' for bean class [com.aliyun.tianji.cloudmonitor.id.SystemInfoParamSetter] conflicts with existing, non-compatible bean definition of same name and class [com.aliyun.tianji.cloudmonitor.upgrade.SystemInfoParamSetter]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:181)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:321)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:677)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:519)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:84)
at com.aliyun.tianji.cloudmonitor.SpringApplication.run(SpringApplication.java:30)
at com.aliyun.tianji.cloudmonitor.Application.main(Application.java:9)
Caused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'systemInfoParamSetter' for bean class [com.aliyun.tianji.cloudmonitor.id.SystemInfoParamSetter] conflicts with existing, non-compatible bean definition of same name and class [com.aliyun.tianji.cloudmonitor.upgrade.SystemInfoParamSetter]
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.checkCandidate(ClassPathBeanDefinitionScanner.java:320)
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:259)
at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:137)
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:267)
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:231)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:198)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:167)
... 9 more
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。