Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ISSUE-alibaba#4258] Fix wrong path when -Dspring.config.location not…
… set (alibaba#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
- Loading branch information