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

jetty-dir.css not found when using JPMS #5488

Closed
sbordet opened this issue Oct 22, 2020 · 0 comments · Fixed by #5491
Closed

jetty-dir.css not found when using JPMS #5488

sbordet opened this issue Oct 22, 2020 · 0 comments · Fixed by #5491
Assignees

Comments

@sbordet
Copy link
Contributor

sbordet commented Oct 22, 2020

Jetty version
9.4.x

Description
jetty-dir.css provides a minimal CSS for directory listing.
It resides in the jetty-util module.

When running Jetty with --jpms, a directory listing page will request jetty-dir.css but a 404 is returned.

My guess is that because of JPMS, the file won't be found unless module jetty.util opens its resources to jetty-servlet, which is probably the module that attempts to load it from the class-path.
If that's the case, jetty-dir.css should be moved to jetty-servlet.

A jetty-home test would be great.

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

Successfully merging a pull request may close this issue.

1 participant