프로젝트 파일이 있는 폴더로 들어간다
C:\study>cd hello-spring

윈도우의 경우 gradlew gradlew
C:\study\hello-spring>gradlew build

성공 메시지 확인 후
C:\study\hello-spring\build\libs>dir

해당 명령어를 실행한다
C:\study\hello-spring\build\libs>java -jar hello-spring-0.0.1-SNAPSHOT.jar

빌드 성공