title: Getting "Whitelabel Error Page" when opening "/actuator/mappings"
body: <p>I'm new to spring-cloud, so i'm using a video tutorial, so to read exposed endpoints i tried to open <a href="http://localhost:8000/actuator/mappings" rel="nofollow noreferrer">http://localhost:8000/actuator/mappings</a> but it didn't work for me but the /health url gave me the following result:</p>
  
  <p><a href="https://i.stack.imgur.com/nxVLr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nxVLr.png" alt="enter image description here"></a></p>
  
  <p>Here's the written code in the client side:</p>
  
  <pre><code>@RefreshScope
  @RestController
  class MessageRestController {
  
    @Value("${message}")
    private String message;
  
    @RequestMapping("/message")
    String getMessage() {
        return this.message;
    }
   }
  </code></pre>
  
  <p><strong>pom.xml:</strong></p>
  
  <pre><code>&lt;parent&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
      &lt;version&gt;2.1.3.RELEASE&lt;/version&gt;
      &lt;relativePath/&gt; &lt;!-- lookup parent from repository --&gt;
  &lt;/parent&gt;
  &lt;groupId&gt;com.spring.cloud.reservation&lt;/groupId&gt;
  &lt;artifactId&gt;reservation-service&lt;/artifactId&gt;
  &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  &lt;name&gt;reservation-service&lt;/name&gt;
  &lt;description&gt;Demo project for Spring Boot&lt;/description&gt;
  &lt;properties&gt;
      &lt;java.version&gt;1.8&lt;/java.version&gt;
      &lt;spring-cloud.version&gt;Greenwich.SR1&lt;/spring-cloud.version&gt;
  &lt;/properties&gt;
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-data-jpa&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-actuator&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-data-rest&lt;/artifactId&gt;
      &lt;/dependency&gt;
     &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
          &lt;artifactId&gt;spring-cloud-starter-config&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.h2database&lt;/groupId&gt;
          &lt;artifactId&gt;h2&lt;/artifactId&gt;
          &lt;scope&gt;runtime&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  &lt;dependencyManagement&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
              &lt;artifactId&gt;spring-cloud-dependencies&lt;/artifactId&gt;
              &lt;version&gt;${spring-cloud.version}&lt;/version&gt;
              &lt;type&gt;pom&lt;/type&gt;
              &lt;scope&gt;import&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/dependencyManagement&gt;
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p></p>
  
  <p>Here's the client project structure:</p>
  
  <p><a href="https://i.stack.imgur.com/IyAst.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IyAst.png" alt="enter image description here"></a></p>
  
  <p><strong>bootstrap.properties:</strong></p>
  
  <pre><code>spring.application.name=reservation-service
  spring.cloud.config.uri=http://localhost:8888
  </code></pre>
  
  <p>When executing the Post on the /refresh gives me : <strong>Error Not Found</strong></p>
  
  <pre><code>curl -d {} http://localhost:8000/actuator/refresh
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/dyAzU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dyAzU.png" alt="enter image description here"></a></p>
  
  <p><strong>spring-boot-actuator jar version = 2.1.3</strong></p>