Created
July 19, 2017 12:55
-
-
Save anupash/a1202b0ef94965e7175a0d00d99b0b22 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$ java -jar target/cdmi-server-1.2.jar | |
SLF4J: Class path contains multiple SLF4J bindings. | |
SLF4J: Found binding in [jar:file:/opt/CDMI/target/cdmi-server-1.2.jar!/lib/slf4j-log4j12-1.7.13.jar!/org/slf4j/impl/StaticLoggerBinder.class] | |
SLF4J: Found binding in [jar:file:/opt/CDMI/target/cdmi-server-1.2.jar!/lib/logback-classic-1.1.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] | |
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. | |
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] | |
log4j:WARN No appenders could be found for logger (edu.kit.scc.CdmiServerApplication). | |
log4j:WARN Please initialize the log4j system properly. | |
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. | |
Exception in thread "main" java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54) | |
at java.lang.Thread.run(Thread.java:748) | |
Caused by: java.lang.IllegalArgumentException: LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation (class org.slf4j.impl.Log4jLoggerFactory loaded from jar:file:/opt/CDMI/target/cdmi-server-1.2.jar!/lib/slf4j-log4j12-1.7.13.jar!/). If you are using WebLogic you will need to add 'org.slf4j' to prefer-application-packages in WEB-INF/weblogic.xml Object of class [org.slf4j.impl.Log4jLoggerFactory] must be an instance of class ch.qos.logback.classic.LoggerContext | |
at org.springframework.util.Assert.isInstanceOf(Assert.java:346) | |
at org.springframework.boot.logging.logback.LogbackLoggingSystem.getLoggerContext(LogbackLoggingSystem.java:223) | |
at org.springframework.boot.logging.logback.LogbackLoggingSystem.getLogger(LogbackLoggingSystem.java:215) | |
at org.springframework.boot.logging.logback.LogbackLoggingSystem.beforeInitialize(LogbackLoggingSystem.java:98) | |
at org.springframework.boot.logging.LoggingApplicationListener.onApplicationStartedEvent(LoggingApplicationListener.java:191) | |
at org.springframework.boot.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:173) | |
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:163) | |
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:136) | |
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:119) | |
at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:111) | |
at org.springframework.boot.context.event.EventPublishingRunListener.started(EventPublishingRunListener.java:60) | |
at org.springframework.boot.SpringApplicationRunListeners.started(SpringApplicationRunListeners.java:48) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180) | |
at edu.kit.scc.CdmiServerApplication.main(CdmiServerApplication.java:26) | |
... 6 more | |
Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException | |
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:62) | |
at java.lang.Thread.run(Thread.java:748) | |
Caused by: java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54) | |
... 1 more | |
Caused by: java.lang.IllegalArgumentException: LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation (class org.slf4j.impl.Log4jLoggerFactory loaded from jar:file:/opt/CDMI/target/cdmi-server-1.2.jar!/lib/slf4j-log4j12-1.7.13.jar!/). If you are using WebLogic you will need to add 'org.slf4j' to prefer-application-packages in WEB-INF/weblogic.xml Object of class [org.slf4j.impl.Log4jLoggerFactory] must be an instance of class ch.qos.logback.classic.LoggerContext | |
at org.springframework.util.Assert.isInstanceOf(Assert.java:346) | |
at org.springframework.boot.logging.logback.LogbackLoggingSystem.getLoggerContext(LogbackLoggingSystem.java:223) | |
at org.springframework.boot.logging.logback.LogbackLoggingSystem.getLogger(LogbackLoggingSystem.java:215) | |
at org.springframework.boot.logging.logback.LogbackLoggingSystem.beforeInitialize(LogbackLoggingSystem.java:98) | |
at org.springframework.boot.logging.LoggingApplicationListener.onApplicationStartedEvent(LoggingApplicationListener.java:191) | |
at org.springframework.boot.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:173) | |
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:163) | |
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:136) | |
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:119) | |
at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:111) | |
at org.springframework.boot.context.event.EventPublishingRunListener.started(EventPublishingRunListener.java:60) | |
at org.springframework.boot.SpringApplicationRunListeners.started(SpringApplicationRunListeners.java:48) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180) | |
at edu.kit.scc.CdmiServerApplication.main(CdmiServerApplication.java:26) | |
... 6 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment