fix references of `springbootdocker`

Directory is `spring_boot_docker`, not `springbootdocker`
This commit is contained in:
Kevin Albertson 2024-09-29 19:49:22 -04:00
parent fbacec6a47
commit acb62e77fc
1 changed files with 3 additions and 3 deletions

View File

@ -110,12 +110,12 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create
4. Create a RESTful web service that displays "Hello World!".
Under the `src/main/java/com/example/springbootdocker/` directory, you can modify your
Under the `src/main/java/com/example/spring_boot_docker/` directory, you can modify your
`SpringBootDockerApplication.java` file with the following content:
```java
package com.example.springbootdocker;
package com.example.spring_boot_docker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@ -139,7 +139,7 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create
}
```
The `SpringbootDockerApplication.java` file starts by declaring your `com.example.springbootdocker` package and importing necessary Spring frameworks. This Java file creates a simple Spring Boot web application that responds with "Hello World" when a user visits its homepage.
The `SpringbootDockerApplication.java` file starts by declaring your `com.example.spring_boot_docker` package and importing necessary Spring frameworks. This Java file creates a simple Spring Boot web application that responds with "Hello World" when a user visits its homepage.
### Create the Dockerfile