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

Server resources are not found if the server is subclassed in a different package #11873

Closed
lachlan-roberts opened this issue Jun 4, 2024 · 0 comments · Fixed by #11874
Closed
Assignees
Labels
Bug For general bugs on Jetty side Sponsored This issue affects a user with a commercial support agreement

Comments

@lachlan-roberts
Copy link
Contributor

Jetty version(s)
12.0.x

Description
Server.getDefaultStyleSheet() and Server.getDefaultFavicon() do not work if the server has been sub classed in a different package.

java.lang.IllegalStateException: Missing server resource: favicon.ico
	at org.eclipse.jetty.server@12.0.10-SNAPSHOT/org.eclipse.jetty.server.Server.newResource(Server.java:819)
	at org.eclipse.jetty.server@12.0.10-SNAPSHOT/org.eclipse.jetty.server.Server.getDefaultFavicon(Server.java:806)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For general bugs on Jetty side Sponsored This issue affects a user with a commercial support agreement
Projects
No open projects
Status: ✅ Done
1 participant