Spring boot项目引入jar包时启动报错:java.lang.StackOverflowError


本文摘自classinstance.cn。

我在学习spring cloud zipkin时,引入如下jar后,

        <!-- 引入zipkin-server -->
	<dependency>
		<groupId>io.zipkin.java</groupId>
		<artifactId>zipkin-server</artifactId>
		<version>2.11.7</version>
	</dependency>
	<!-- 引入zipkin-server 图形化界面 -->
	<dependency>
		<groupId>io.zipkin.java</groupId>
		<artifactId>zipkin-autoconfigure-ui</artifactId>
		<version>2.11.7</version>
	</dependency> 

项目一直起不来,一直报如下错误:

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)

阅读剩余部分

相关阅读 >>

spring boot项目时间字段少8小时问题

如何实现生产环境关闭swagger,只有开发环境中开启swagger

spring boot跨域配置

spring cloud gatewaythe ‘access-control-allow-origin’ header contains multiple values “*, *”...

spring boot多module项目导入eclipse

spring boot项目引入jar包时启动报错:java.lang.stackoverflowerror

更多相关阅读请进入《spring cloud》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...