![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
花花是奶牛
学习,加油!进步!
展开
-
springboot+logback 根目录生产LOG_PATH_IS_UNDEFINED 解决
logback.xml的加载要先于application.yml,所以直接通过${参数key}的形式获取是无法获取到application.yml对应参数值的。将logback中的地址路径改为从yml读取, 会在根目录生成一个LOG_PATH_IS_UNDEFINED 的文件夹。配置是正确的,怎么改配置都会在根目录生成文件, 最后。logback.xml配置。原创 2024-07-04 11:00:58 · 171 阅读 · 1 评论 -
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.1.4.RELEASE:........
SpringBoot 使用spring-boot-maven-plugin插件时运行出错Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.1.4.RELEASE:run (default-cli) on project SpringBoot: Could not exec java原因:pom.xml依赖冲突,使用application自带服务器启动,查询到详细报错信息发现Correct the原创 2020-09-08 15:06:32 · 1149 阅读 · 0 评论