728x90
반응형
SMALL
- 우측 하단 라이브러리 다운로드 기다리기
- src/main/java/com/example/ex00/EX00Application.java 오픈
- 실행(Run)
- ERROR Fail to Configure a DateSource: uri (DB 설정을 하지 않았기 때문에 발생!)
- @SpringBootApplication(exclude=
{DateSourceAutoConfiguration.class})
**) Project -> Properties -> Java Edit -> Save Actions -> ckeck) Project specific settings > perform > import
적용하면 파일 save 시 자동으로 import - 실행(Run)
- port 8080 in use error
- resources/application.properies에 server.port = 10000 설정
- 실행(Run)
- 오류 없이 Started라는 메시지가 마지막 줄
- 브라우저로 http://localhost:10000 접속
- white 오류 페이지 발생 - 루트에 아무 파일이 없다는 오류
- resouce/Template에 index.html 생성
- 웹 페이지 작성
- 정상 루트 페이지가 웹 브라우저에서 보임
728x90
반응형
LIST
'개발 > 정리 내용' 카테고리의 다른 글
Front-Controller Pattern (0) | 2023.01.15 |
---|---|
스프링부트 디렉토리 설명 (0) | 2023.01.15 |
Springboot (0) | 2023.01.15 |
STS(Spring Tool Suite) (0) | 2023.01.15 |
스프링 프레임워크 동작 시 생기는 일 (0) | 2023.01.15 |