1. Error reason
Springboot introduces rocketmq spring boot starter and reports an error
2. Solution – exclude dependencies
<dependency> <groupId>org.apache.rocketmq</groupId> <artifactId>rocketmq-spring-boot-starter</artifactId> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-logging</artifactId> </exclusion> </exclusions> </dependency>
Project started successfully
Similar Posts:
- [How to Solve] RestController cannot be recognized in spring boot
- [Solved] java.lang.NoSuchMethodError: javax.persistence.spi.PersistenceUni
- Springcloud: gateway module startup error
- Springboot startup error start bean ‘eurekaautoserviceregistration’ NullPointerException
- Factory method ‘eurekaClient’ threw exception; nested exception is java.lang.RuntimeException: Failed to initialize DiscoveryClient!
- Unregistering JMX-exposed beans on shutdown Solution
- Springboot always reports an error when importing JSP dependencies
- Eureka server project startup error handling
- Error creating bean with name ‘com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration’
- Pom.xml add dependency error [How to Solve]