You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JDK version: openjdk version "21.0.2" 2024-01-16 LTS
OS: Fedora 37
Docker version (if applicable): NA
Problem Description
Generated starter project with static content and Java modules returns 404 NOT FOUND for when requesting the static content. If I remove the module-info.java, making the application non-explcitly modular, Helidon finds the static content and returns it.
The following code was generated from the Helidon starter. The onlyh thin different is I removed the "/" redirect to "/ui" to see if that made any difference (it didn't):
Environment Details
Problem Description
Generated starter project with static content and Java modules returns 404 NOT FOUND for when requesting the static content. If I remove the module-info.java, making the application non-explcitly modular, Helidon finds the static content and returns it.
The following code was generated from the Helidon starter. The onlyh thin different is I removed the "/" redirect to "/ui" to see if that made any difference (it didn't):
This problem happens consistently with module-info.java. With no module-info.java, index.html is returned consistently.
Does StaticContentService need to be updated to find files differently than the classpath and file system when modules are used?
Steps to reproduce
The text was updated successfully, but these errors were encountered: