개발자
2023-01-31 19:41:41.465 WARN 3820 --- [ main] o.s.b.a.m.MustacheAutoConfiguration : Cannot find template location: classpath:/templates/ (please add some templates, check your Mustache configuration, or set spring.mustache.check-template-location=false) 인텔리제이 오류 어떻게 해결하나요?
답변 1
인기 답변
안녕하세요! 에러 로그만 봤을때는 mustache라는 템플릿 엔진이 templates 위치를 못 찾는 것 같네요. templates 체크를 할 필요가 없다면 사용하고 계신 앱 설정 파일에서 check template location 설정을 끄는 방법이 있습니다. spring.mustache.check-template-location 이 안내되는 것으로 보아하니 스프링부트 설정에서 spring.mustache.check-template-location=false로 바꿔주시면 되지 않을까 싶습니다. - https://namocom.tistory.com/581 - https://supawer0728.github.io/2018/03/14/Mustache/ - (오픈소스 프로젝트 깃허브 이슈가 첫 검색으로 걸려서 확인해보니 여기는 이렇게 설정을 바꿨네요) https://github.com/vaadin/skeleton-starter-flow-spring/commit/68cc295f89a37e4b1c34b44c45c1247891222608
지금 가입하면 모든 질문의 답변을 볼 수 있어요!
현직자들의 명쾌한 답변을 얻을 수 있어요.
이미 회원이신가요?
지금 가입하면 모든 질문의 답변을 볼 수 있어요!