集成第三方框架,报错NoSuchFieldError:logger

logger项目中使用springboot的版本是2.0.1.RELEASE,该版本依赖的spring版本为5.0.5.RELEASE

(logger在spring版本5.0.7.RELEASE中),在项目中添加对应的spring-beans版本,问题解决了。

<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-beans</artifactId>
    <version>5.0.5.RELEASE</version>
    <scope>compile</scope>
</dependency>

 




posted @ 2018-11-17 20:47  束发读诗书  阅读(684)  评论(0编辑  收藏  举报