application.properties可以放在如下位置:
- 当前目录的 “/config”的子目录下
- 当前目录下
- classpath根目录的“/config”包下
- 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