이 영역을 누르면 첫 페이지로 이동
컴01기 블로그의 첫 페이지로 이동

컴01기

페이지 맨 위로 올라가기

[Spring] 프로젝트 빌드하고 실행하기

컴01기

[Spring] 프로젝트 빌드하고 실행하기

  • 2021.01.04 01:51
  • etc/Spring
  • $ dir

gradlew.bat 이 있음을 볼 수 있다.

 

  • $ gradlew.bat
이러면 libs가 떠야하는데 없다...!
  • $ gradlew clean build --info
  • $ cd libs
  • $ dir

 

hello-spring-0.0.1-SNAPSHOT.jar 이 생성되어 있음을 알 수 있다.

 

  • cd java -jar hello-spring-0.0.1-SNAPSHOT.jar

빌드 됐고, 서버도 정상적으로 잘 작동됨을 알 수 있다!

'etc > Spring' 카테고리의 다른 글

[Spring] MVC 와 템플릿 엔진  (0) 2021.01.12
[Spring] 정적 컨텐츠 (.html) 가져오기  (0) 2021.01.04
[Spring] Port 8080 was already in use.  (0) 2021.01.04
[Spring] spring-boot-devtools 라이브러리 추가하기  (0) 2021.01.03
[Spring] Welcome Page 만들기  (0) 2021.01.03

댓글

컴01기힝입니다.

댓글을 사용할 수 없습니다.

이 글 공유하기

  • 구독하기

    구독하기

  • 카카오톡

    카카오톡

  • 트위터

    트위터

  • Facebook

    Facebook

  • 카카오스토리

    카카오스토리

  • 밴드

    밴드

  • 네이버 블로그

    네이버 블로그

  • Pocket

    Pocket

  • Evernote

    Evernote

다른 글

  • [Spring] 정적 컨텐츠 (.html) 가져오기

    [Spring] 정적 컨텐츠 (.html) 가져오기

    2021.01.04
    docs.spring.io/spring-boot/docs/2.3.1.RELEASE/reference/html/spring-boot-features.html#boot-features-spring-mvc-static-content Spring Boot Features Graceful shutdown is supported with all four embedded web servers (Jetty, Reactor Netty, Tomcat, and Undertow) and with both reactive and Servlet-based web applications. It occurs as part of closing the application context and is performed in the ear…
  • [Spring] Port 8080 was already in use.

    [Spring] Port 8080 was already in use.

    2021.01.04
    스프링에서 Run을 했는데…. 대충 이런 상황이 되었다…. 오류 메세지 : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2021-01-04 06:04:25.874 ERROR 17108 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Descriptio…
  • [Spring] spring-boot-devtools 라이브러리 추가하기

    [Spring] spring-boot-devtools 라이브러리 추가하기

    2021.01.03
    build.gradle 에 해당 라인(볼드체)을 추가한다. 1 2 3 4 5 6 dependencies { implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-devtools' testImplementation 'org.springframework.boot:spring-boot-starter-test' } Colored by Color Scripter cs 원래는 파일을 수정한 후에 서버를 재시작해야 변경사항이 적용됐었…
  • [Spring] Welcome Page 만들기

    [Spring] Welcome Page 만들기

    2021.01.03
다른 글 더 둘러보기

정보

컴01기 블로그의 첫 페이지로 이동

컴01기

  • 컴01기의 첫 페이지로 이동

검색

메뉴

  • 홈
  • 태그
  • 방명록

카테고리

  • 분류 전체보기 (87)
    • 📰논문 리뷰 (16)
    • 🍒회고록 (4)
    • 🖤네이버 ai tech (0)
    • ✨글쓰는힝 (1)
    • 🔥취준일기 (2)
    • 🎲유니티 (2)
    • 🔨삽질 (10)
    • 📚 서적 리뷰 (4)
    • 🐹알고리즘 (4)
    • 😎정리하는 카테고리 (4)
    • 📝CS 공부 (6)
      • 운영체제 (1)
      • 네트워크 (4)
      • 리팩토링 (1)
    • etc (22)
      • 혼공단 (7)
      • Spring (7)
      • JS (1)
      • OpenCV (2)
      • Unity (5)

인기 글

태그

  • 혼공SQL
  • unity
  • 혼공머신
  • 혼공학습단
  • 혼공단
  • 회고록
  • github
  • 백준

나의 외부 링크

  • Github
  • Youtube

정보

힝님의 컴01기

컴01기

힝님

방문자

  • 전체 방문자
  • 오늘
  • 어제

블로그 구독하기

  • 구독하기
  • RSS 피드

티스토리

  • 티스토리 홈
  • 이 블로그 관리하기
  • 글쓰기
Powered by Tistory / Kakao. © 힝님. Designed by Fraccino.

티스토리툴바

개인정보

  • 티스토리 홈
  • 포럼
  • 로그인

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.