尝试解决IDea 启动项目后,后台疯狂输出日志。

今天启动项目的时候,昨天下班前还好好,然后今天就炸了。后台疯狂输出日志。。

就类似这种,大批量的刷。其实项目已经正常启动了,就是疯狂的刷日志。

2019-03-29 08:42:53 [DEBUG] [http-nio-8306-exec-4] o.s.web.servlet.DispatcherServlet - "ERROR" dispatch for GET "/cyy-api/error", parameters={}
2019-03-29 08:42:53 [DEBUG] [http-nio-8306-exec-4] s.d.s.w.PropertySourcedRequestMappingHandlerMapping - looking up handler for path: /error
2019-03-29 08:42:53 [DEBUG] [http-nio-8306-exec-4] o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2019-03-29 08:42:53 [DEBUG] [http-nio-8306-exec-4] o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [application/json] and supported [application/json, application/*+json, application/json, application/*+json]
2019-03-29 08:42:53 [DEBUG] [http-nio-8306-exec-4] o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [{timestamp=Fri Mar 29 08:42:53 CST 2019, status=404, error=Not Found, message=No message available, (truncated)...]
2019-03-29 08:42:53 [DEBUG] [http-nio-8306-exec-4] o.s.web.servlet.DispatcherServlet - Exiting from "ERROR" dispatch, status 404
2019-03-29 08:42:53 [DEBUG] [http-nio-8306-exec-5] o.s.web.servlet.DispatcherServlet - GET "/cyy-api/null/swagger-resources/configuration/security", parameters={}
2019-03-29 08:42:53 [DEBUG] [http-nio-8306-exec-5] s.d.s.w.PropertySourcedRequestMappingHandlerMapping - looki

 

然后找了好久都没有看到解决办法。无意间看到了一片文章。

https://blog.csdn.net/jiangyu1013/article/details/80447086

看了一下内容,本来没报多大希望,没想到竟然解决了。

解决方法如下,就是点哈这个玩意,重置视图

 

posted @ 2019-03-29 09:08  SayAndDo  阅读(3937)  评论(1编辑  收藏  举报