728x90
반응형
SMALL
  1. 우측 하단 라이브러리 다운로드 기다리기
  2. src/main/java/com/example/ex00/EX00Application.java 오픈
  3. 실행(Run)
  4. ERROR Fail to Configure a DateSource: uri (DB 설정을 하지 않았기 때문에 발생!)
  5. @SpringBootApplication(exclude=
    {DateSourceAutoConfiguration.class})
    **) Project -> Properties -> Java Edit -> Save Actions -> ckeck) Project specific settings > perform > import
    적용하면 파일 save 시 자동으로 import
  6. 실행(Run)
  7. port 8080 in use error
  8. resources/application.properies에 server.port = 10000 설정
  9. 실행(Run)
  10. 오류 없이 Started라는 메시지가 마지막 줄
  11. 브라우저로 http://localhost:10000 접속 
  12. white 오류 페이지 발생 - 루트에 아무 파일이 없다는 오류 
  13. resouce/Template에 index.html 생성 
  14. 웹 페이지 작성
  15. 정상 루트 페이지가 웹 브라우저에서 보임
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

+ Recent posts