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

Not working as Jar #1

Open
Venom590 opened this issue Aug 10, 2017 · 0 comments
Open

Not working as Jar #1

Venom590 opened this issue Aug 10, 2017 · 0 comments

Comments

@Venom590
Copy link

If you build the jar file using maven and start the Server class there are missing dependencies. Some investigations show that the maven shade plugin needs to be used.
Then it is not possible to load the html static content from the jar. Since jersey 2.3.3 (I think) there is a CLStaticHttpHandler which includes a classloader. Moving from jersey 1.x to 2.x may cause some problems.

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