Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

springboot打包成war运行时下载不到配置文件 #22

Open
goozi opened this issue Apr 11, 2019 · 0 comments
Open

springboot打包成war运行时下载不到配置文件 #22

goozi opened this issue Apr 11, 2019 · 0 comments

Comments

@goozi
Copy link

goozi commented Apr 11, 2019

disconf版本2.6.36
文档说2.6.33版本起已经解决springboot jar包方式运行取文件路径的问题
但我这边因为里面有jsp文件,所以要打包成War,然后启动时会报找不到application.yml文件,这个文件我是托管在disconf中,本地用代码方式直接运行是可以取到,但一打包成War就不行了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant