Solve / actuator / beans can not be accessed

Spring Boot configured in the actuator, able to access / actuator / health, but as a display 404 in access / actuator / beans time.

 


The reason is / actuator / health and / actuator / info is the default open, the other to make their own configuration. The following code is added to the configuration file.

management.endpoints.web.exposure.include=*

 

Next Access / actuator / beans appears at FIG.

 


chrome they do not support JSON format conversion, we can go to the app store to download JSON Formatter

 


After a successful installation you can visually see the JSON data.

 

Guess you like

Origin www.cnblogs.com/tiandz/p/11404641.html