From 61dbf4562805cb2c6429a5e85f3319c25f5f10b1 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 8 Nov 2023 12:51:29 -0800 Subject: [PATCH] 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 --- .../src/docs/asciidoc/getting-started/first-application.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/getting-started/first-application.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/getting-started/first-application.adoc index bc652fd33e3..5f970a33144 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/getting-started/first-application.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/getting-started/first-application.adoc @@ -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.