當我包含日誌消息actuator
並啓用debug
時,會出現大量日誌消息。「使用Spring Boot執行器沒有找到處理方法」的日誌消息
2015-08-14 18:34:25.335 DEBUG 94889 --- [nio-8080-exec-5] o.s.b.a.e.mvc.EndpointHandlerMapping : Looking up handler method for path /index.html
2015-08-14 18:34:25.336 DEBUG 94889 --- [nio-8080-exec-5] o.s.b.a.e.mvc.EndpointHandlerMapping : Did not find handler method for [/index.html]
當我刪除actuator
然後這些日誌消息消失。
我試過版本Spring Boot 1.2.5和1.3.0.M3,它的工作原理是一樣的。通過spring initializr
使用web
和actuator
依賴關係生成項目很容易。
你知道可能是什麼原因?
謝謝。
你有沒有發現這裏發生了什麼?我有完全相同的問題,但有更多的端點。 – Rafiek