logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

SpringBoot:cannot be resolved to absolute file path because it does not reside in the file system

cannot be resolved to absolute file path because it does not reside in the file system

文章图片
#spring boot#后端#java
spring-boot-maven-plugin:打包时排除provided依赖

spring-boot-maven-plugin 插件提供spring boot的maven打包支持。项目中scope为provided的依赖,比如 lombok、mybatis-plus 等,只作用于编译阶段,编译完成就可以功成身退了。在spring maven打包时,provided依赖会排除在包外,但springboot maven打包时,还会将这些依赖打进 war 包的 lib-provi

#spring boot#后端
springboot logback no applicable action for [springProfile], current ElementPath is [[configuration]

在springboot项目里使用logback报如下错误14:25:46,762 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@3:72 - no applicable action for [springProperty], current ElementPathis [[configuration][springProperty]]1

#spring boot#后端#java
到底了