摘要:
Spring程序会按优先级从下面这些路径来加载application.properties配置文件 当前目录下的/config目录 当前目录 classpath里的/config目录 classpath 跟目录 因此,要外置配置文件就很简单了,在jar所在目录新建config文件夹,然后放入配置文件 阅读全文
posted @ 2020-10-12 13:28
路要一步一步走
阅读(1693)
评论(0)
推荐(1)
摘要:
转载:https://blog.csdn.net/qq360694660/article/details/82877222 阅读全文
posted @ 2020-10-12 11:40
路要一步一步走
阅读(140)
评论(0)
推荐(0)
摘要:
转载:https://blog.csdn.net/neweastsun/article/details/78775371 阅读全文
posted @ 2020-10-12 11:38
路要一步一步走
阅读(457)
评论(0)
推荐(0)

浙公网安备 33010602011771号