springBoot集成rocketMq启动的时候报
RocketMQLog:WARN No appenders could be found for logger (io.netty.channel.nio.NioEventLoop).
RocketMQLog:WARN Please initialize the logger system properly.
原因是pom中的rocket的依赖版本太高了。
<dependency> <groupId>org.apache.rocketmq</groupId> <artifactId>rocketmq-spring-boot-starter</artifactId> <version>2.2.2</version> <exclusions> <exclusion> <artifactId>fastjson</artifactId> <groupId>com.alibaba</groupId> </exclusion> <exclusion> <artifactId>slf4j-api</artifactId> <groupId>org.slf4j</groupId> </exclusion> </exclusions> </dependency>
只需要将 依赖版本从2.2.2降到2.2.0就可以了。
标签:NioEventLoop,netty,RocketMQLog,No,WARN,io,logger From: https://www.cnblogs.com/hj98/p/18160051