반응형
🌿 기본 환경: IDE: STS4, Language: Java
발생 Error
🚨 SpringBoot에서 Application.java 파일을 SpringBoot App Run을 실행 후,
http://localhost:8080/으로 접속할 경우, 맨 처음 화면이 Whitelabel Error Page가 반환됨
발생 원인
localhost:8080 으로 연결 시, 기본값인 index.html이 없음
해결 방법
src/main/webapp에 index.html 파일 생성
참고 자료
스프링부트 Whitelabel Error Page 에러 해결방법
프로제트 서버를 실행 한 후 localhost:8080 으로 접속을 해보면 Whitelabel Error Page 에러가 발생하는 경우가 있는데 전체 에러 메시지는 아래와 같다 Whitelabel Error Page This application has no explicit mapping for
wakestand.tistory.com
반응형
'Java > Spring with Error' 카테고리의 다른 글
[해결 방법] No projects are found to import (0) | 2023.05.30 |
---|---|
[해결 방법] import org.springframework cannot be resolved (0) | 2023.05.30 |
[해결 방법] No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.1.0 was found (0) | 2023.05.29 |
[해결 방법] Request method 'POST' not supported (0) | 2023.05.28 |
[해결 방법] org.springframework.validation.BindException: (0) | 2023.05.27 |