title: spring boot actuator does not work as expected
body: <p>I am starting to learn spring boot and I have just imported my spring-actuator in my pom.xml.
  Now, the endpoint</p>
  <pre><code>http://localhost:8080/actuator/health
  </code></pre>
  <p>works correctly, and the endpoint below</p>
  <pre><code>http://localhost:8080/actuator/
  </code></pre>
  <p>shows me the following information:</p>
  <pre><code>{&quot;_links&quot;:{&quot;self&quot;:{&quot;href&quot;:&quot;http://localhost:8080/actuator&quot;,&quot;templated&quot;:false},&quot;health&quot;:{&quot;href&quot;:&quot;http://localhost:8080/actuator/health&quot;,&quot;templated&quot;:false},&quot;health-path&quot;:{&quot;href&quot;:&quot;http://localhost:8080/actuator/health/{*path}&quot;,&quot;templated&quot;:true}}}
  </code></pre>
  <p>However, in the folder</p>
  <pre><code>src/main/resources
  </code></pre>
  <p>I added the file</p>
  <pre><code>application.properties
  </code></pre>
  <p>which contains the following properties:</p>
  <pre><code>info.app.name=My Super Cool App
  info.app.description=A crazy and fun app, yahoo!
  info.app.version=1.0.0
  </code></pre>
  <p>I expect that the above mentioned properties are shown under the endpoint</p>
  <pre><code>http://localhost:8080/actuator/info
  </code></pre>
  <p>however, the endpoint above gives me the following error message:</p>
  <pre><code>This application has no explicit mapping for /error, so you are seeing this as a fallback.
  
  Sat Sep 18 13:03:31 CEST 2021
  There was an unexpected error (type=Not Found, status=404).
  No message available
  </code></pre>
  <p>Where is my error?</p>
  <p>Below, you can find an excerpt from my pom.xml:</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.5.4&lt;/version&gt;
          &lt;relativePath /&gt; &lt;!-- lookup parent from repository --&gt;
      &lt;/parent&gt;
  
      &lt;groupId&gt;com.luv2code.springboot.demo&lt;/groupId&gt;
      &lt;artifactId&gt;mycoolap&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;name&gt;mycoolap&lt;/name&gt;
      &lt;description&gt;Demo project for Spring Boot&lt;/description&gt;
  
      &lt;properties&gt;
          &lt;java.version&gt;11&lt;/java.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-web&lt;/artifactId&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;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-devtools&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;/dependencies&gt;
  </code></pre>
  <p>Thank you very much!</p>