
Maven
程序猿新手_曹先生
向大佬学习,请多多指教
展开
-
解决spring-boot-starter-logging与log4j冲突
使用excusions来排除spring-boot-starter对spring-boot-starter-logging的依赖,然后引入log4j-slf4j-impl <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> .原创 2020-07-25 20:47:17 · 853 阅读 · 0 评论 -
IDEA 报错 LoggerFactory is not a Logback LoggerContext but Logback is on the classpath,如何排除依赖冲突
D:\software\LeaningSoftware\JDK\JDK1.8Install\bin\java.exe -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=49833 -Dcom.sun.management.jmxremote.authenticate=false -Dco原创 2020-07-22 07:05:41 · 460 阅读 · 0 评论 -
对maven 本地仓库中有jar包,但还是总是找不到,打包失败和无法引用的问题的解决方法(IDEA)
我通过阿里运公共仓库下载下来的jar放在了我本地仓库中,我在项目中也添加依赖引用了,pom.xml文件也没有出错,也能打包,但是在maven projects栏中总是报错,不能引用。上面标红的地方在没修改之前总是爆红,但是将项目中的 .iml文件删除,重启idea,刷新maven就会好了,就可以引用了。...原创 2020-07-21 06:34:33 · 4852 阅读 · 1 评论