Skip to content
Advertisement

Tag: staticresource

No mapping for static-resources Spring Boot

In my Spring-Boot application, js and css files do not work, it says 404 not found. My html-page includes the following: I configured resources so: But in logs I receive: This is the location of static-sources: What am I doing wrong? Answer By default, this handler serves static content from any of /static, /public, /resources, and /META-INF/resources directories that are

Advertisement