Fix package declaration of sample in reference docs

Update the "Developing Your First Spring Boot Application" sample so
that the package is not removed.

Closes gh-34513
This commit is contained in:
Phillip Webb 2023-11-08 12:51:29 -08:00
parent 7c73a034b6
commit 61dbf45628

View File

@ -137,6 +137,7 @@ If you run `mvn dependency:tree` again, you see that there are now a number of a
To finish our application, we need to create a single Java file.
By default, Maven compiles sources from `src/main/java`, so you need to create that directory structure and then add a file named `src/main/java/MyApplication.java` to contain the following code:
[chomp_package_replacement=com.example]
include::code:MyApplication[]
Although there is not much code here, quite a lot is going on.