Created
February 19, 2016 08:51
-
-
Save didyhu/aae2b75bcfafa98ee997 to your computer and use it in GitHub Desktop.
Getting error "Detected both log4j-over-slf4j.jar AND slf4j-log4j12.jar on the class path, preempting StackOverflowError" when deploy war to aliyun ace.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<artifactId>maven-war-plugin</artifactId> | |
<version>2.6</version> | |
<configuration> | |
<packagingExcludes> | |
WEB-INF/lib/log4j-over-slf4j-*.jar | |
</packagingExcludes> | |
</configuration> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment