解决ception in thread "main" java.lang.IllegalArgumentException: LoggerFactory is not a Logback Logger
2018-08-23 10:11
369 查看
这个异常是由于打印日志的jar冲突导致,SpringBoot本身有打印日志的功能,如果跟本地的冲突,就需要去掉,如下
< dependency>
< groupId>org.springframework.boot< /groupId>
< artifactId>spring-boot-starter-web< /artifactId>
< version>1.3.3.RELEASE< /version>
< exclusions>
< exclusion>
< groupId>org.springframework.boot< /groupId>
< artifactId>spring-boot-starter-logging< /artifactId>
< /exclusion>
< /exclusions>
< /dependency>
相关文章推荐
- java.lang.IllegalArgumentException: The class class ** is not found in EntityFactory.
- Exception in thread "main" java.lang.IllegalArgumentException:解决方法
- Exception in thread "main" java.lang.IllegalArgumentException: The document is really a OOXML file
- Exception in thread "main" java.lang.IllegalArgumentException: adding a window to a container
- Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: hdfs://node1:9000/input/pia
- Exception in thread "main" java.lang.IllegalArgumentException: input == null!
- Exception in thread "main" java.lang.RuntimeException: Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType ...) to create the schema. If needed, do
- Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: hdfs://node1:9000/input/pia
- Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: hdfs://node1:9000/input/pia
- spark Exception in thread "main" java.lang.IllegalArgumentException: java.net.URISyntaxException: Re
- Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: hdfs://node1:9000/input/pia
- Exception in thread "main" java.lang.IllegalArgumentException
- Exception in thread "main" java.lang.IllegalArgumentException: Comparison method violates its gener
- Exception in thread “main” java.lang.IllegalArgumentException: Wrong FS: hdfs://localhost:9000/user/
- Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: hdfs://node1:9000/input/pia
- Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: hdfs://node1:9000/input/pia
- java.lang.IllegalArgumentException: D:\eclipse\.. does not exist or is not a readable directory解决方法
- Exception in thread "main" java.lang.IllegalArgumentException: Argument cannot be null
- Caused by: java.lang.IllegalArgumentException: Javassist library is missing in classpath! ..错误解决
- Exception in thread "main" java.lang.IllegalArgumentException