I am facing an issue where I cannot get a simple spring boot web project with just a hello world to launch with the actuator without it crashing because I do not have a DB. This is an effort to recreate that issue stand alone.
./gradlew clean build
./gradlew bootRun
curl http://localhost:8080/actuator
curl http://localhost:8080/hello
The initial generation of this project was done with Spring Boot Initializer
- Gradle
- Spring Boot 3.3.0
- Group: dev.rwwise
- Artifact: sb_actuator_nodb
- Name: Spring Boot Actuator with No DB
- Description: Spring Boot Actuator with No DB Research Project
- Packaging: Jar
- Java: 21
- Spring Web
- Spring Boot Actuator