MyMonsterCat / RapidOcr-Java

🔥🔥🔥Java代码实现调用RapidOCR(基于PaddleOCR),适配Mac、Win、Linux,支持最新PP-OCRv4
Apache License 2.0
197 stars 28 forks source link

精简依赖,使用 slf4j-api 代替 log4j-slf4j-impl #14

Closed FlyInWind1 closed 7 months ago

FlyInWind1 commented 7 months ago

我在启动项目的时候,出现了这样的警告。 因为我项目里用的是 logback ,在添加 RapidOcr-Java 后,又新加了一个 log4j 的依赖。 希望删除对 log4j 的依赖

SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:.../slf4j-log4j12-1.7.21.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:.../logback-classic-1.1.7.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

MyMonsterCat commented 7 months ago

nice!感谢优化!