@@ -379,7 +379,7 @@ The `Application.java` file would declare the `main` method, along with the basi
379
379
380
380
[source,java,indent=0]
381
381
----
382
- package com.example.myproject ;
382
+ package com.example.myapplication ;
383
383
384
384
import org.springframework.boot.SpringApplication;
385
385
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
@@ -553,7 +553,7 @@ The `@SpringBootApplication` annotation is equivalent to using `@Configuration`,
553
553
554
554
[source,java,indent=0]
555
555
----
556
- package com.example.myproject ;
556
+ package com.example.myapplication ;
557
557
558
558
import org.springframework.boot.SpringApplication;
559
559
import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -610,7 +610,7 @@ run your application using `java -jar`. For example:
610
610
611
611
[indent=0,subs="attributes"]
612
612
----
613
- $ java -jar target/myproject -0.0.1-SNAPSHOT.jar
613
+ $ java -jar target/myapplication -0.0.1-SNAPSHOT.jar
614
614
----
615
615
616
616
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:
619
619
[indent=0,subs="attributes"]
620
620
----
621
621
$ 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
623
623
----
624
624
625
625
0 commit comments