/hello 페이지 Whitelabel Error
383
작성한 질문수 1
안녕하세요?
4강 진행하면서 HelloController 생성 및 hello 메소드까지 작성하여 static/index.html에 연결하였습니다.
이후 재기동까지 수행했지만, /hello 페이지 진입 시, 500 오류와 함께 Whitelabel Error가 발생합니다.
서버 Console에서 발생하는 오류 메시지는 아래와 같습니다.
2023-04-05 15:52:05.474 ERROR 24049 --- [nio-8080-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: Error resolving template [hello], template might not exist or might not be accessible by any of the configured Template Resolvers] with root causeorg.thymeleaf.exceptions.TemplateInputException: Error resolving template [hello], template might not exist or might not be accessible by any of the configured Template Resolversbuild.gradle의 thymeleaf 라이브러리 의존성도 제대로 선언되어 있고, 라이브러리도 정상적으로 참조되고 있는 것 같은데, 원인을 찾기가 쉽지 않네요 ㅠ
아래의 구글 드라이브 링크에 해당 프로젝트를 압축하여 첨부하였습니다. 확인 부탁드립니다.
https://drive.google.com/file/d/1tdu2p3HdwYLbzWLmVOUBGUsPW3qljb1F/view?usp=share_link
답변 1
0
안녕하세요. young.woo.kim님, 공식 서포터즈 OMG입니다.
.
templates/폴더에 hello.html이 누락되었네요 ^^ 강의를 참고하여 작성해주세요 :)

.
감사합니다.
..
0
76
2
Unused property.....
0
102
2
project JDK is misconfigured
0
132
2
외부 API의 ID 타입(String/UUID)과 내부 도메인의 ID 타입(Long)이 불일치할 때의 설계 정석
0
83
2
단위/통합 테스트 버전충돌 문제
0
91
2
❗️springboot 4.0.2 버전 aspectj dependency 설정❗️
0
230
1
왜 컨트롤러는 변한게 없는데 새로 만든 html 파일이 뜨나요?
0
104
2
윈도우 build test오류 질문
1
103
2
테스트 관련 공부에 대한 조언을 얻고 싶습니다
0
101
2
테스트 실행 시 에러 질문
0
292
1
name을 통한 비교와 객체를 통한 비교
0
77
1
빌드 후 libs 없음
1
129
1
윈도우 gradlew.bat 에러
0
167
1
@PostMapping("/members/new")가 동작하지 않습니다
0
90
1
java static class와 kotlin class
0
79
1
스프링 DB연결
0
127
1
소요 시간
0
87
2
ddl.sql에 빨간 밑줄
1
102
2
welcome page 에러
0
183
3
잘 모르겠습니다.
0
164
2
fail을 똑같이 쳤는데 오류가 발생해요
0
157
2
index.html Welcome page
0
125
1
프로젝트 gradle-groovy ?
0
370
1
테스트코드 메서드명 한글
0
202
2





