Spring Boot Start

이진우·2021년 6월 9일
0
  • https://start.spring.io/ 에 접속한 이후 ADD DEPENDENCIES 를 클릭하여 DEPENDENCY 추가 후 아래와 같이 설정 한 후 GENERATE 버튼을 클릭 하여 프로젝트를 다운 받음

  • pom.xml 파일을 수정
    • 2.1.13.RELEASES로 변경
    <parent>
    	<groupId>org.springframework.boot</groupId>
    	<artifactId>spring-boot-starter-parent</artifactId>
    	<version>2.1.13.RELEASE</version>
    	<relativePath/> <!-- lookup parent from repository -->
    </parent>
  • resources 밑에 application.yml 파일 생성 후 서버 포트 변경(8080 → 8088)
    server:
      port: 8088
profile
시작이 반이다.

0개의 댓글