guiguilechat / JCELechat

Eve Online modeling and interaction
GNU General Public License v3.0
8 stars 1 forks source link

[spring web] missing favicon #65

Open guiguilechat opened 7 months ago

guiguilechat commented 7 months ago

get a 404 when getting favicon.ico

guiguilechat commented 7 months ago

solution is to add in the application.yaml

spring:
   favicon:
      enabled: true
   mvc:
      favicon:
         enabled: true
guiguilechat commented 7 months ago

actually not working

guiguilechat commented 7 months ago

2024-04-19T15:59:53.256+02:00 DEBUG 33588 --- [nio-8080-exec-5] o.s.web.servlet.DispatcherServlet : GET "/favicon.ico", parameters={} 2024-04-19T15:59:53.256+02:00 DEBUG 33588 --- [nio-8080-exec-5] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]] 2024-04-19T15:59:53.257+02:00 DEBUG 33588 --- [nio-8080-exec-5] o.s.w.s.r.ResourceHttpRequestHandler : Resource not found 2024-04-19T15:59:53.258+02:00 DEBUG 33588 --- [nio-8080-exec-5] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.servlet.resource.NoResourceFoundException: No static resource favicon.ico.] 2024-04-19T15:59:53.258+02:00 DEBUG 33588 --- [nio-8080-exec-5] o.s.web.servlet.DispatcherServlet : Completed 404 NOT_FOUND 2024-04-19T15:59:53.262+02:00 DEBUG 33588 --- [nio-8080-exec-5] o.s.web.servlet.DispatcherServlet : "ERROR" dispatch for GET "/error", parameters={}

guiguilechat commented 7 months ago

won't fix, seeems to be a mess.