Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

日志maven引用有误 #9

Open
Misaka10091 opened this issue Aug 6, 2017 · 2 comments
Open

日志maven引用有误 #9

Misaka10091 opened this issue Aug 6, 2017 · 2 comments

Comments

@Misaka10091
Copy link

疑似jar包冲突

1

注释掉这个依赖这可以正常运行
2

@mgzu
Copy link

mgzu commented Dec 7, 2017

这是因为slf4j-log4j12有log4j的依赖,pom.xml注释掉log4j(maven会优先引用pom.xml中的log4j),没有注释slf4j-log4j12,也会有log4j的引用,可以在maven中央仓库中查看slf4j-log4j12-1.7.7的依赖关系,http://mvnrepository.com/artifact/org.slf4j/slf4j-log4j12/1.7.7

@ZHENFENG13
Copy link
Owner

2017-12-07 4 50 49

不是特别确定为什么会这样,我这边是正常的,线上部署的也是如此,并没有报错。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants