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

Running from fat jar doesn't load xml file #154

Open
asafl opened this issue Mar 20, 2019 · 0 comments
Open

Running from fat jar doesn't load xml file #154

asafl opened this issue Mar 20, 2019 · 0 comments

Comments

@asafl
Copy link

asafl commented Mar 20, 2019

Hi,

I'm not sure this is the right place to ask, but I've waisted a day's work on this already, so...

Everything works fine with logback.xml located in the /src/main/resources, when executing unpackaged code (from inside Intelli-J). But stops working when running via a fat jar created using sbt-assemly. The XML file doesn't seem to be read. I've tried using the -Dlogback.configurationFile flag in any way I could think of, but nothing works.

Any ideas would be welcome!

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

No branches or pull requests

1 participant