赞
踩
- SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
- SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
- Exception in thread "main" java.lang.StackOverflowError
- at org.apache.logging.log4j.util.StackLocator.getCallerClass(StackLocator.java:112)
- at org.apache.logging.log4j.util.StackLocator.getCallerClass(StackLocator.java:125)
- at org.apache.logging.log4j.util.StackLocatorUtil.getCallerClass(StackLocatorUtil.java:55)
- at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:42)
- at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:46)
- at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29)
- at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358)
找到了,然后:
<!--springboot-websocket服务--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> <!--排除--> <exclusions> <exclusion> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </exclusion> </exclusions> </dependency>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。