-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed as not planned
Labels
for: stackoverflowA question that's better suited to stackoverflow.comA question that's better suited to stackoverflow.comstatus: invalidAn issue that we don't feel is validAn issue that we don't feel is valid
Description
I have simple spring boot web application with index.html in the folder src/main/resources/public. After migration from 3.3.4 to 3.4.1 version I can't open the application in browser. It shows me "{"type":"about:blank","title":"Not Found","status":404,"detail":"No static resource /index.html.","instance":"/index.html"}". In a log file I see a message "ResourceHandlerUtils : Appended trailing slash to static resource location: classpath:/public/index.html/". I tried removing '/' at the end of '/public/index.html/' in debug mode and it helped. So I think the problem appeared after adding "location = ResourceHandlerUtils.initLocationPath(location);" code in the ResourceHttpRequestHandler.java class
Metadata
Metadata
Assignees
Labels
for: stackoverflowA question that's better suited to stackoverflow.comA question that's better suited to stackoverflow.comstatus: invalidAn issue that we don't feel is validAn issue that we don't feel is valid