Skip to content

Commit 474df8b

Browse files
committed
Polish "Update application layout to show packaging by features"
Closes gh-9907
1 parent f948a46 commit 474df8b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ The `Application.java` file would declare the `main` method, along with the basi
379379

380380
[source,java,indent=0]
381381
----
382-
package com.example.myproject;
382+
package com.example.myapplication;
383383
384384
import org.springframework.boot.SpringApplication;
385385
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
@@ -553,7 +553,7 @@ The `@SpringBootApplication` annotation is equivalent to using `@Configuration`,
553553

554554
[source,java,indent=0]
555555
----
556-
package com.example.myproject;
556+
package com.example.myapplication;
557557
558558
import org.springframework.boot.SpringApplication;
559559
import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -610,7 +610,7 @@ run your application using `java -jar`. For example:
610610

611611
[indent=0,subs="attributes"]
612612
----
613-
$ java -jar target/myproject-0.0.1-SNAPSHOT.jar
613+
$ java -jar target/myapplication-0.0.1-SNAPSHOT.jar
614614
----
615615

616616
It is also possible to run a packaged application with remote debugging support enabled.
@@ -619,7 +619,7 @@ This allows you to attach a debugger to your packaged application:
619619
[indent=0,subs="attributes"]
620620
----
621621
$ java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n \
622-
-jar target/myproject-0.0.1-SNAPSHOT.jar
622+
-jar target/myapplication-0.0.1-SNAPSHOT.jar
623623
----
624624

625625

0 commit comments

Comments
 (0)