No mapping found for HTTP request with URI [/favicon.ico]

后端 未结 3 996
囚心锁ツ
囚心锁ツ 2021-02-04 08:18

I can\'t recall what I have changed on my code but whenever I click on any links on my web it gives me this :

WARN : org.springframework.web.servlet.PageNotFound         


        
3条回答
  •  别跟我提以往
    2021-02-04 08:41

    Most web browsers attempt to fetch a site's favicon at the root of the context with a request for the /favicon.ico resource automatically. In your case is not handled by any configured Spring mapping.

    If you have a favicon at /favicon.ico or in another location you could configure a mapping in Spring to resolve the request to a valid resource:

    
    

提交回复
热议问题