application.properties可以放在如下位置:

  1. 当前目录的 “/config”的子目录下
  2. 当前目录下
  3. classpath根目录的“/config”包下
  4. classpath的根目录下

官方application.properties的一些配置参数:https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#boot-features-external-config
参考链接:https://blog.csdn.net/yingxiake/article/details/51260302

相关文章:

  • 2021-08-24
  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
  • 2022-02-04
  • 2021-05-26
  • 2022-02-09
  • 2022-12-23
猜你喜欢
  • 2021-09-01
  • 2022-12-23
  • 2022-01-12
  • 2021-08-10
  • 2022-01-02
相关资源
相似解决方案