springboot项目application.properties 无法打包进 target 目录
原因可能是:
1. application.properties 文件未放置在正确位置
2. application.properties 文件格式不正确
命名为 application.properties。3. maven 配置不当
src/main/resources true
结论:
检查文件位置、格式和 maven 配置,确保 application.properties 文件正确配置,以便在打包时将其包含在 target 目录中。