The biggest pit of SpringCloud

In a word, the API method in the controller must not clip @Bean, because adding this will become precompiled! ! ! ! Can't breakpoint can't log! ! ! ! ! ! Of course, if you want the project to be executed as soon as it starts, add this.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325297218&siteId=291194637