mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 06:45:50 +00:00
startup message
This commit is contained in:
parent
9a6db63a95
commit
234c984b5e
1 changed files with 12 additions and 0 deletions
|
@ -38,4 +38,16 @@ public class PetClinicApplication {
|
|||
SpringApplication.run(PetClinicApplication.class, args);
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(PetClinicApplication.class, args);
|
||||
printStartupMessage();
|
||||
}
|
||||
|
||||
/**
|
||||
* Prints a startup message to the console.
|
||||
*/
|
||||
private static void printStartupMessage() {
|
||||
System.out.println("PetClinic Application has started successfully!");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue