Skip to content

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

Closed

Description

@sbordet

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.

Activity

  1. self-assigned this
    on Oct 22, 2020
  2. added a commit that references this issue on Oct 22, 2020
    4a4a73d
  3. added a commit that references this issue on Nov 2, 2020
    a1b3d33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions