"스프링 스타터 프로젝트 demo"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 2명의 중간 판 8개는 보이지 않습니다)
17번째 줄: 17번째 줄:
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; □  com.example || 패키지 ||  
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; □  com.example || 패키지 ||  
|-
|-
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; □ DemoAppplication.java || 메인 클래스 ||  
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; □ [[DemoApplication.java]] || 메인 클래스 ||  
|-
|-
| &nbsp;&nbsp;&nbsp; 📁  src/main/resource || 메인 리소스 ||
| &nbsp;&nbsp;&nbsp; 📁  src/main/resource || 메인 리소스 ||
|-
|-
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; □ application.properties || 애플리케이션 속성 파일 ||  
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; □ [[application.properties]] || 애플리케이션 속성 파일 ||  
|-
|-
| &nbsp;&nbsp;&nbsp; 📁  src/main/resource || 테스트 자바소스 ||
| &nbsp;&nbsp;&nbsp; 📁  src/main/resource || 테스트 자바소스 ||
27번째 줄: 27번째 줄:
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; □  com.example || 패키지 ||  
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; □  com.example || 패키지 ||  
|-
|-
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; □ DemoApplicationTests.java || 메인 테스트 클래스 ||  
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; □ [[DemoApplicationTests.java]] || 메인 테스트 클래스 ||  
|-
|-
| &nbsp;&nbsp;&nbsp; 📁  JRE System Library [JavaSe-1.8] || JRE 시스템 라이브러리 ||
| &nbsp;&nbsp;&nbsp; 📁  JRE System Library [JavaSe-1.8] || JRE 시스템 라이브러리 ||
41번째 줄: 41번째 줄:
| &nbsp;&nbsp;&nbsp; 📁 target || ||
| &nbsp;&nbsp;&nbsp; 📁 target || ||
|-
|-
| &nbsp;&nbsp;&nbsp; □ mvnw || ||
| &nbsp;&nbsp;&nbsp; □ [[mvnw]] || ||
|-
|-
| &nbsp;&nbsp;&nbsp; □ mvnw.cmd || ||
| &nbsp;&nbsp;&nbsp; □ [[mvnw.cmd]] || ||
|-
|-
| &nbsp;&nbsp;&nbsp; □ pom.xml || ||
| &nbsp;&nbsp;&nbsp; □ [[demo pom.xml|pom.xml]] || ||
|}
|}
==실행==
* ▶ 버튼 클릭
* "Run As" --- Spring Boot App 선택 --- OK
<syntaxhighlight lang='text'>
  .  ____          _            __ _ _
/\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot ::        (v1.5.3.RELEASE)
2017-05-08 10:20:10.366  INFO 912 --- [          main] com.example.DemoApplication              : Starting DemoApplication on WIN-QAWM7YG1SGO with PID 912 (D:\workspace-sts\demo\target\classes started by user2 in D:\workspace-sts\demo)
2017-05-08 10:20:10.366  INFO 912 --- [          main] com.example.DemoApplication              : No active profile set, falling back to default profiles: default
2017-05-08 10:20:10.491  INFO 912 --- [          main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@4d826d77: startup date [Mon May 08 10:20:10 KST 2017]; root of context hierarchy
2017-05-08 10:20:11.288  INFO 912 --- [          main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
2017-05-08 10:20:11.321  INFO 912 --- [          main] com.example.DemoApplication              : Started DemoApplication in 1.361 seconds (JVM running for 2.273)
2017-05-08 10:20:11.323  INFO 912 --- [      Thread-2] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@4d826d77: startup date [Mon May 08 10:20:10 KST 2017]; root of context hierarchy
2017-05-08 10:20:11.326  INFO 912 --- [      Thread-2] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans on shutdown
</syntaxhighlight>


==같이 보기==
==같이 보기==
* [[스프링 스타터 프로젝트 HelloWorld]]
* [[스프링 스타터 프로젝트 bootweb1]]
* [[스프링 스타터 프로젝트 bootweb1]]


[[분류: Spring]]
[[분류:스프링 스타터 프로젝트]]

2020년 11월 2일 (월) 02:50 기준 최신판

1 개요[ | ]

Spring Starter Project demo
스프링 스타터 프로젝트 demo

2 새 프로젝트[ | ]

  • Package Explorer의 빈공간에서 우클릭 --- New --- Spring Starter Project
  • "New Spring Starter Project" --- [Next >] --- [Finish]

3 폴더 구조[ | ]

폴더 이름 설명
📁 demo [boot] 프로젝트 프로젝트 최상위 폴더
    📁 src/main/java 메인 자바소스
       □ com.example 패키지
          □ DemoApplication.java 메인 클래스
    📁 src/main/resource 메인 리소스
       □ application.properties 애플리케이션 속성 파일
    📁 src/main/resource 테스트 자바소스
       □ com.example 패키지
          □ DemoApplicationTests.java 메인 테스트 클래스
    📁 JRE System Library [JavaSe-1.8] JRE 시스템 라이브러리
    📁 Maven Dependencies 메이븐 의존모듈
    📁 src
       📁 main
       📁 test
    📁 target
    □ mvnw
    □ mvnw.cmd
    □ pom.xml

4 실행[ | ]

  • ▶ 버튼 클릭
  • "Run As" --- Spring Boot App 선택 --- OK
  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.5.3.RELEASE)

2017-05-08 10:20:10.366  INFO 912 --- [           main] com.example.DemoApplication              : Starting DemoApplication on WIN-QAWM7YG1SGO with PID 912 (D:\workspace-sts\demo\target\classes started by user2 in D:\workspace-sts\demo)
2017-05-08 10:20:10.366  INFO 912 --- [           main] com.example.DemoApplication              : No active profile set, falling back to default profiles: default
2017-05-08 10:20:10.491  INFO 912 --- [           main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@4d826d77: startup date [Mon May 08 10:20:10 KST 2017]; root of context hierarchy
2017-05-08 10:20:11.288  INFO 912 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
2017-05-08 10:20:11.321  INFO 912 --- [           main] com.example.DemoApplication              : Started DemoApplication in 1.361 seconds (JVM running for 2.273)
2017-05-08 10:20:11.323  INFO 912 --- [       Thread-2] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@4d826d77: startup date [Mon May 08 10:20:10 KST 2017]; root of context hierarchy
2017-05-08 10:20:11.326  INFO 912 --- [       Thread-2] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans on shutdown

5 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}