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

Bump the level of Jersey for Eureka server to at least 1.13 due to loading static resources issue. #376

Closed
stephenlow opened this issue Jan 29, 2015 · 3 comments

Comments

@stephenlow
Copy link

Cannot load non-REST static resources such as CSS, images and JS on WebSphere Application Servers.

Attempting to load these static resources (i.e. a redirect to http://localhost/eureka/jsp/status.jsp or http://localhost/eureka/css/main.css for example) gives back a 404. The issue is described in JIRA at the following:

https://java.net/jira/si/jira.issueviews:issue-html/JERSEY-880/JERSEY-880.html

This issue was identified in Jersey v1.11, which is what the Eureka server is currently being built on. The issues item identifies that this is fixed in Jersey v1.13. I've rebuilt and tested Eureka with Jersey v1.18 and it is able to successfully load these static resources.

Requesting for the level of Jersey be bumped up to at least v1.13.

@stephenlow
Copy link
Author

Jersey Version needs to be updated in build.gradle

@tbak
Copy link

tbak commented Jan 30, 2015

Thanks for pointing this out. We have to make a few other changes to bump to higher version, as eureka-client is a direct or transitive dependency in other projects. We are working right now on this.
For the meantime, you have to overwrite the version in your gradle config.

@qiangdavidliu
Copy link
Contributor

Latest release (1.2.0) has bumped jersey version to 1.19. Apologies for how long this took!

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

3 participants