日志依赖冲突警告
警告信息:
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/tomcat/webapps/ROOT/WEB-INF/lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/tomcat/webapps/ROOT/WEB-INF/lib/slf4j-log4j12-1.7.30.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 [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
项目扫描到多个SLF4J日志依赖,根据实际情况去掉一些,保留自己使用的即可。
啥,你以为就这样就完了吗?我遇到的可是一大堆报错哦!
哦,不是啊!啥?你也遇到很多报错啊!来看看下面这个报错及解决汇总文章:

本文详细介绍了在项目中遇到的日志框架SLF4J的依赖冲突问题,以及Hive连接Kerberos认证时的各种报错,并提供了相应的解决方案。通过消除多余的SLF4J绑定和调整日志配置,可以解决启动时间和性能问题。同时,针对Hive与Kerberos的报错,汇总了多种可能的错误场景及对应的解决办法。
44

被折叠的 条评论
为什么被折叠?



