nacos/sys
赵延 dc266b03bc
[ISSUE-#4258] Fix wrong path when -Dspring.config.location not set (#4259)
* fix spring.config.location is nullapplication.properties when -Dspring.config.location is not set in env

* fix wrong path when -Dspring.config.location not set

* modify default file resource method name

* fix "/" magic value

* change the way of get file

* not judge pathSplit by self, use Paths.get(a, b);

* when spring.config.location is not set, use {nacos.home}/conf/application.properties to cover it.

* refactor code

* code quality enhance

* just use two level to load conf. {spring.config.location}/application.properties -> classpath:/application.properties

* code clean
2020-11-25 17:02:21 +08:00
..
src [ISSUE-#4258] Fix wrong path when -Dspring.config.location not set (#4259) 2020-11-25 17:02:21 +08:00
pom.xml add commons-lang3 dependency into core and sys, prepare to remove lang/lang3 dependency in common/api/client. (#4198) 2020-11-11 17:46:47 +08:00