I have a Spring Boot fat war application that I want to monitor using Hawtio. I added the following dependency to the pom file to enable the Jolokia agent.
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-core</artifactId>
<version>1.3.3</version>
</dependency>
However, when I try to connect to it using Hawtio, I get the following response:
Cannot Connect: Method Not Allowed
{"timestamp":1460830872908,"status":405,"error":"Method Not Allowed","exception":"org.springframework.web.HttpRequestMethodNotSupportedException","message":"Request method 'POST' not supported","path":"/jolokia/"}
Can someone please tell me what I'm missing?