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. STM32F405的 ADC参考电压选择问题

    1. STM32F405没有参考电压的输入引脚,那么可能是接的VDDA和VSSA 2. 看下文档的说明

  2. 13、OpenCV实现图像的空间滤波——图像平滑

    1.空间滤波基础概念 1.空间滤波基础 空间滤波一词中滤波取自数字信号处理,指接受或拒绝一定的频率成分,但是空间滤波学习内容实际上和通过傅里叶变换实现的频域的滤波是等效的,故而也称为滤波.空间滤波主要 ...

  3. Java基础:类文件结构及类加载

    Class文件结构 魔数 4bits 确定该文件是否是可接受的Class文件(0xCAFEBABE) 版本号 4bits 包括次版本号和主版本号 常量池 包括字面量(文本字符串,声明为final的常量 ...

  4. Web基础和servlet基础

    TomCat的目录结构 Bin:脚本目录(存放启动.关闭这些命令) Conf:存放配置文件的目录 Lib:存放jar包 Logs: 存放日志文件 Temp: 临时文件 Webapps: 项目发布目录 ...

  5. php中比较复杂但又常用的字符串函数

    php系统核心库自带的函数中,字符串比数组函数较为简单,但还是有一些较为复杂但又很常用的函数,比如下面的这些函数 explode()函数 用一个字符串来分割另一个字符串,返回结果是一个数组 explo ...

  6. 2019最新黑链代码expression:隐藏链接代码

    之前有收集了一些主流的隐藏链接代码,最近又发现一种相当牛X的代码,如下: 源代码: <div style="position:absolute;left:expression(1-90 ...

  7. python 之 数据库(视图、触发器、事务、存储过程)

    10.13 视图 1.什么是视图 视图就是通过查询得到一张虚拟表,然后保存下来,下次用的直接使用即可 2.为什么要用视图 如果要频繁使用一张虚拟表,可以不用重复查询 3.如何使用视图 视图记录的增.删 ...

  8. WUSTOJ 1325: Distance(Java)坐标计算

    题目链接:1325: Distance Description There is a battle field. It is a square with the side length 100 mil ...

  9. 2019牛客暑期多校训练营(第四场)A meeting(dfs或dp,dp待更新)

    示例1: 输入: 4 21 23 13 42 4 输出:2 说明: They can meet at place 1 or 3. 题意:从K个点到达不联通图某个点需要的最短时间,这个最短时间是这K个人 ...

  10. 解决warning: Clock skew detected. Your build may be incomplete

    原因:机器系统时间与文件时间不一致 解决:更新所有文件的时间后重新编译 find . -type f | xargs -n 5 touch make clean make xargs  -n num ...