maven構建的項目解決方案已經有很多詳細的解決方案了,貼一個gradle去除依賴的寫法
configurations { providedRuntime implementation.exclude module: "spring-boot-starter-tomcat" implementation.exclude group: "org.apache.logging.log4j", module: "log4j-slf4j-impl" }
maven構建的項目解決方案已經有很多詳細的解決方案了,貼一個gradle去除依賴的寫法
configurations { providedRuntime implementation.exclude module: "spring-boot-starter-tomcat" implementation.exclude group: "org.apache.logging.log4j", module: "log4j-slf4j-impl" }