Getting Started | spring boot
Ifyouarebuildingawebsiteforyourbusiness,youprobablyneedtoaddsomemanagementservices.SpringBootprovidesseveralsuchservices(suchashealth,audits,beans,andmore)withitsactuatormodule[1].IfyouuseGradle,addthefollowingdependencytoyourbuild.gradlefile:implementationorg.springframework.boot:spring-boot-starter-actuatorIfyouuseMaven,addthefollowingdependencytoyourpom.xmlfile:
If you are building a web site for your business, you probably need to add some management services. Spring Boot provides several such services (such as health, audits, beans, and more) with its actuator module[1].
If you use Gradle, add the following dependency to your build.gradle file:
implementation org.springframework.boot:spring-boot-starter-actuatorIf you use Maven, add the following dependency to your pom.xml file:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency>Then restart the application. If you use Gradle, run the following command in a terminal window (in the complete directory):
If you use Maven, run the following command in a terminal window (in the complete directory):
You should see that a new set of RESTful end points have been added to the application. These are management services provided by ...