In my spring boot application, I have added the below dependencies:
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.196</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
</dependency>
and then in my application.properties i set:
spring.h2.console.enabled=true
management.security.enabled=false
But when i navigate to the uri:
http://localhost:8080/h2-console/login.do?jsessionid=cfc3b5595b531203d92134205e16127e
It complains with:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Wed Sep 27 03:37:52 GMT-12:00 2017
There was an unexpected error (type=Not Found, status=404).
No message available
Why don't i have access to h2-console?