Slf4j:detected both Log4j-over-slf4j.jar and slf4j-Log4j12.jar on the class path, preempting stackoverflowerror. Slf4j:see also http://Www.slf4j.org/codes.html#log4jDelegationLoop for more details.ExceptioninchThread"Main"Java.lang.ExceptionInInitializerError at Org.apache.log4j.LogManager.getLogger (Logmanager.java: -) at Org.slf4j.impl.Log4jLoggerFactory.getLogger (Log4jloggerfactory.java: the) at Org.slf4j.LoggerFactory.getLogger (Loggerfactory.java:277) at Org.apache.commons.logging.impl.SLF4JLogFactory.getInstance (Slf4jlogfactory.java:156) at Org.apache.commons.logging.impl.SLF4JLogFactory.getInstance (Slf4jlogfactory.java: the) at Org.apache.commons.logging.LogFactory.getLog (Logfactory.java:274) at Org.springframework.context.support.AbstractApplicationContext.<init> (Abstractapplicationcontext.java:164) at Org.springframework.context.support.AbstractApplicationContext.<init> (Abstractapplicationcontext.java:228) at Org.springframework.context.support.AbstractRefreshableApplicationContext.<init> (Abstractrefreshableapplicationcontext.java: the) at Org.springframework.context.support.AbstractRefreshableConfigApplicationContext.<init> (Abstractrefreshableconfigapplicationcontext.java: -) at Org.springframework.context.support.AbstractXmlApplicationContext.<init> (Abstractxmlapplicationcontext.java: A) at Org.springframework.context.support.ClassPathXmlApplicationContext.<init> (Classpathxmlapplicationcontext.java:136) at Org.springframework.context.support.ClassPathXmlApplicationContext.<init> (Classpathxmlapplicationcontext.java: the) at Com.solr.service.test.UserFeedBackQueryTest.main (Userfeedbackquerytest.java: at) at Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at Sun.reflect.NativeMethodAccessorImpl.invoke (Nativemethodaccessorimpl.java: +) at Sun.reflect.DelegatingMethodAccessorImpl.invoke (Delegatingmethodaccessorimpl.java: +) at Java.lang.reflect.Method.invoke (Method.java:498) at Com.intellij.rt.execution.application.AppMain.main (Appmain.java:147) caused by:java.lang.IllegalStateException:Detected both log4j-over-slf4j.jar and Slf4j-log4j12.jar on the class path, preempting stackoverflowerror. See also http://Www.slf4j.org/codes.html#log4jDelegationLoop for more details.At Org.apache.log4j.log4jloggerfactory.<clinit> (Log4jloggerfactory.java:Wuyi) ... + More
Jar Package Conflict
<Exclusions> <exclusion> <groupId>Org.slf4j</groupId> <Artifactid>Slf4j-log4j12</Artifactid> </exclusion> </Exclusions>
Detected both Log4j-over-slf4j.jar and Slf4j-log4j12.jar on the class path, preempting stackoverflowerror