env not loading at runtime after building .jar file
ashwin31 opened this issue · 1 comments
ashwin31 commented
It is working perfectly in development.
- with maven, I am building my spring boot application without .env file.
- I have loaded all env variables into env and verfied with echo command. they are there
- but the java -jar project.jar is throwing error because it's not loading loading variables from env
I can't keep .evn at build time because my application should run in different environtments after build.
please advice
ashwin31 commented
@paulschwarz can you help here?