2019-06-26 22:19:57.408642475 java.lang.IllegalArgumentException: LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation (class org.owasp.dependencycheck.maven.slf4j.MavenLoggerFactory loaded from jar:file:/home/admin/samaritan/libs/dependency-check-maven-1.4.3.jar!/). If you are using WebLogic you will need to add 'org.slf4j' to prefer-application-packages in WEB-INF/weblogic.xml: org.owasp.dependencycheck.maven.slf4j.MavenLoggerFactory
2019-06-26 22:19:57.408701383 at org.springframework.util.Assert.instanceCheckFailed(Assert.java:637)
2019-06-26 22:19:57.408712505 at org.springframework.util.Assert.isInstanceOf(Assert.java:537)
2019-06-26 22:19:57.408744865 at org.springframework.boot.logging.logback.LogbackLoggingSystem.getLoggerContext(LogbackLoggingSystem.java:274)
2019-06-26 22:19:57.408753781 at org.springframework.boot.logging.logback.LogbackLoggingSystem.beforeInitialize(LogbackLoggingSystem.java:99)
2019-06-26 22:19:57.408809318 at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationStartingEvent(LoggingApplicationListener.java:191)
2019-06-26 22:19:57.408845346 at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:170)
2019-06-26 22:19:57.408859094 at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
2019-06-26 22:19:57.408868002 at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
2019-06-26 22:19:57.408877348 at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
2019-06-26 22:19:57.408923926 at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127)
2019-06-26 22:19:57.408936068 at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:68)
2019-06-26 22:19:57.408946296 at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:48)
2019-06-26 22:19:57.408981384 at org.springframework.boot.SpringApplication.run(SpringApplication.java:313)
2019-06-26 22:19:57.409035943 at org.springframework.boot.SpringApplication.run(SpringApplication.java:1246)
2019-06-26 22:19:57.409047754 at org.springframework.boot.SpringApplication.run(SpringApplication.java:1234)
2019-06-26 22:19:57.409076731 at cn.fraudmetrix.samaritan.AppMain.main(AppMain.java:132)
2019-06-26 22:19:57.409085632 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2019-06-26 22:19:57.409148074 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2019-06-26 22:19:57.409170711 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2019-06-26 22:19:57.409186039 at java.lang.reflect.Method.invoke(Method.java:498)
2019-06-26 22:19:57.409200844 at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
2019-06-26 22:19:57.409213367 at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
2019-06-26 22:19:57.409228141 at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
2019-06-26 22:19:57.409275075 at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:587)
2019-06-26 22:19:57.409392972 Exception in thread "main" java.lang.reflect.InvocationTargetException
2019-06-26 22:19:57.409511976 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2019-06-26 22:19:57.409539209 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
0001-01-01 08:00:00.000000000 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2019-06-26 22:19:57.409599381 at java.lang.reflect.Method.invoke(Method.java:498)
2019-06-26 22:19:57.409612149 at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
2019-06-26 22:19:57.409625139 at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
2019-06-26 22:19:57.409638204 at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
0001-01-01 08:00:00.000000000 at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:587)
2019-06-26 22:19:57.409742319 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.owasp.dependencycheck.maven.slf4j.MavenLoggerFactory loaded from jar:file:/home/admin/samaritan/libs/dependency-check-maven-1.4.3.jar!/). If you are using WebLogic you will need to add 'org.slf4j' to prefer-application-packages in WEB-INF/weblogic.xml: org.owasp.dependencycheck.maven.slf4j.MavenLoggerFactory
2019-06-26 22:19:57.409758932 at org.springframework.util.Assert.instanceCheckFailed(Assert.java:637)
2019-06-26 22:19:57.409766766 at org.springframework.util.Assert.isInstanceOf(Assert.java:537)
2019-06-26 22:19:57.409783572 at org.springframework.boot.logging.logback.LogbackLoggingSystem.getLoggerContext(LogbackLoggingSystem.java:274)
2019-06-26 22:19:57.409805326 at org.springframework.boot.logging.logback.LogbackLoggingSystem.beforeInitialize(LogbackLoggingSystem.java:99)
2019-06-26 22:19:57.409815018 at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationStartingEvent(LoggingApplicationListener.java:191)
2019-06-26 22:19:57.409866736 at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:170)
2019-06-26 22:19:57.409875858 at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
2019-06-26 22:19:57.409897243 at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
0001-01-01 08:00:00.000000000 at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
2019-06-26 22:19:57.409999701 at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127)
0001-01-01 08:00:00.000000000 at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:68)
2019-06-26 22:19:57.410027481 at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:48)
2019-06-26 22:19:57.410039955 at org.springframework.boot.SpringApplication.run(SpringApplication.java:313)
2019-06-26 22:19:57.410054098 at org.springframework.boot.SpringApplication.run(SpringApplication.java:1246)
2019-06-26 22:19:57.410073967 at org.springframework.boot.SpringApplication.run(SpringApplication.java:1234)
0001-01-01 08:00:00.000000000 at cn.fraudmetrix.samaritan.AppMain.main(AppMain.java:132)
2019-06-26 22:19:57.410092094 ... 8 more 移除掉dependency-check-maven-1.4.3.jar!即可

LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation的更多相关文章

  1. springboot项目maven报错 LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback

    完整信息如下 SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/D:/deve ...

  2. SpringBoot LoggerFactory is not a Logback LoggerContext but Logback is on the classpath

    SpringBoot 在启动项目的时候一起错误: SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in ...

  3. 解决LoggerFactory is not a Logback LoggerContext but Logback is on the classpath

    因为引用了log4j2同时还引用了logback

  4. 安装springboot时遇到 LoggerFactory is not a Logback LoggerContext but Logback is on the classpath.问题

    将工程外部jar包删除slf4j就可以运行.

  5. logback和log4j比较,前者是后者改良,logback配置详解(转)

    一.logback的介绍 Logback是由log4j创始人设计的另一个开源日志组件,官方网站: http://logback.qos.ch.它当前分为下面下个模块: logback-core:其它两 ...

  6. 2018/2/16 解析Logback的AppenderBase源码,并举一反三的实现Logback扩展功能的思路,以及它的实际业务应用场景

    在学习Logback的过程中,知道了它有一个可以将日志往第三方数据源写的功能,这个功能的实现就是这个AppenderBase类,不禁想看看它的源码. 下面是AppenderBase类的所有子类(也就是 ...

  7. 启动Spring boot项目报错:java.lang.IllegalArgumentException: LoggerFactory is not a Logback

    java.lang.IllegalArgumentException: LoggerFactory is not a Logback LoggerContext but Logback is on t ...

  8. 使用canal分析binlog(一) 入门

    canal介绍 canal是应阿里巴巴存在杭州和美国的双机房部署,存在跨机房同步的业务需求而提出的.早期,阿里巴巴B2B公司因为存在杭州和美国双机房部署,存在跨机房同步的业务需求.不过早期的数据库同步 ...

  9. SSM迁移到Springboot记录

    日志问题 Exception in thread "main" java.lang.IllegalArgumentException: LoggerFactory is not a ...

随机推荐

  1. 进程间通信之pipe

    实现数据传递 两个进程之间通信 多个进程之间通信,会导致数据不安全,需要加锁,示例 分类 无名管道:父子间进程通信 有名管道:父子间进程通信:任意两个进程之间通信 创建管道方法 os.mkfifo(p ...

  2. spaces的坑

    spacemacs的坑,改镜像源,不能使用退格 emacs25以上可以装spacemacs 目前在mac上装emacs26.1 使用spacemacs的时候会有melpa.org访问慢或者访问不了的问 ...

  3. 【GStreamer开发】GStreamer播放教程01——playbin2的使用

    目标 我们前面已经使用过了playbin2这个element,它可以让我们做的很少而实现很多.本教程会展示当这个element的默认设置在一些特殊情形下不符合我们的需求是可以做的一些深度定制,我们会看 ...

  4. 钩子(hook)

    钩子(hook)编程     钩子(hook)编程 一.钩子介绍 1.1钩子的实现机制 钩子英文名叫Hook,是一种截获windows系统中某应用程序或者所有进程的消息的一种技术.下图是windows ...

  5. flask的信号使用

    from blinker import Namespace from datetime import datetime from flask import request namespace = Na ...

  6. 为nologin用户开一个terminal

    昨天,我在设置zabbix-agent的时候,发现agent机器上的zabbix用户并不能读取某文件信息.我就想跳到zabbix用户,后来失败,发现在/etc/passwd中,zabbix被设置为 z ...

  7. Ajax的基本使用流程

    <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> ...

  8. Centos7部署node

    近期在配置jenkins自动化部署前端项目时,需要使用到npm对前端项目进行构建打包,故这里单独介绍下node的部署. 项目地址:https://nodejs.org/en/download/ 1.下 ...

  9. 6.66 分钟,一文Python爬虫解疑大全教入门!

    我收集了大家关注爬虫最关心的  16 个问题,这里我再整理下分享给大家,并一一解答. 1. 现在爬虫好找工作吗? 如果是一年前我可能会说爬虫的工作还是挺好找的,但现在已经不好找了,一市场饱和了,二是爬 ...

  10. python学习-40 生产者和消费者模型

    import time def buy(name): # 消费者 print('%s上街去买蛋' %name) while True: eggs=yield print('%s买了%s' %(name ...