导入blade-plugin---blade-message之后,程序无法启动

Blade 未结 1 928
jiashaCocoa
jiashaCocoa 剑者 2021-06-10 15:12

一、该问题的重现步骤是什么?

1. 按照说明文档导入后程序启动时报错:

java.lang.IllegalStateException: The following classes could not be excluded because they are not auto-configuration classes:

- org.springblade.plugin.message.config.RabbitMqConfiguration


二、你期待的结果是什么?实际看到的又是什么?

正常启动,实际是启动报错。

三、你正在使用的是什么产品,什么版本?在什么操作系统上?

bladex:2.8.0,win10操作系统

四、请提供详细的错误堆栈信息,这很重要。

2021-06-10 14:59:17.477  WARN 15460 --- [           main] o.s.c.c.u.SpringFactoryImportSelector    : More than one implementation of @EnableCircuitBreaker (now relying on @Conditionals to pick one): [org.springframework.cloud.netflix.hystrix.HystrixCircuitBreakerConfiguration, com.alibaba.cloud.sentinel.custom.SentinelCircuitBreakerConfiguration]

2021-06-10 14:59:17.669 ERROR 15460 --- [           main] o.s.boot.SpringApplication               : Application run failed


java.lang.IllegalStateException: The following classes could not be excluded because they are not auto-configuration classes:

- org.springblade.plugin.message.config.RabbitMqConfiguration


at org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.handleInvalidExcludes(AutoConfigurationImportSelector.java:209)

at org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.checkExcludedClasses(AutoConfigurationImportSelector.java:195)

at org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.getAutoConfigurationEntry(AutoConfigurationImportSelector.java:119)

at org.springframework.boot.autoconfigure.AutoConfigurationImportSelector$AutoConfigurationGroup.process(AutoConfigurationImportSelector.java:396)

at org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorGrouping.getImports(ConfigurationClassParser.java:879)

at org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorGroupingHandler.processGroupImports(ConfigurationClassParser.java:809)

at org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorHandler.process(ConfigurationClassParser.java:780)

at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:193)

at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:319)

at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:236)

at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:280)

at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:96)

at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:707)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:533)

at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)

at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)

at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:140)

at org.springblade.core.launch.BladeApplication.run(BladeApplication.java:50)

at org.springblade.plugin.message.MessageApplication.main(MessageApplication.java:25)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at com.intellij.rt.execution.CommandLineWrapper.main(CommandLineWrapper.java:64)



Process finished with exit code 1

五、若有更多详细信息,请在下面提供。

1条回答
  • 2021-06-10 20:16

    可以把这个帖子发到消息插件群内提问

    0 讨论(0)
提交回复