Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Fri Nov 03 11:38:21 GMT + 08: 00 2017 There was an unexpected error (type=Unauthorized, status=401). Full authentication is required to access this resource.
1. Add the maven dependency of the actuator
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency>
2. Add to the configuration file application.properties
## Unauthorized access management.security.enabled=false