Skip to content

Commit 61dbf45

Browse files
committed
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
1 parent 7c73a03 commit 61dbf45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/getting-started/first-application.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ If you run `mvn dependency:tree` again, you see that there are now a number of a
137137
To finish our application, we need to create a single Java file.
138138
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:
139139

140+
[chomp_package_replacement=com.example]
140141
include::code:MyApplication[]
141142

142143
Although there is not much code here, quite a lot is going on.

0 commit comments

Comments
 (0)