Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration) ์ค๋ฅ๊ฐ ๋น๋๋ค
์ด๋ฏธ ํด๊ฒฐ ํ์
จ๊ฒ ์ง๋ง ํ์ฌ ์์ ์ ๋ฌธ์ ๊ฒช๋ ๋ถ๋ค์ ์ํด์ด ์ฝ์ ๊ฒฝ๊ณ ๋ฉ์์ง๋ Spring์ด classpath:/templates/ ๊ฒฝ๋ก์ ํ
ํ๋ฆฟ ํ์ผ์ ์ฐพ์ง ๋ชปํ๊ณ ์๋ค๋ ๊ฒ์ ๋ํ๋
๋๋ค์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๋ ค๋ฉด ๋ค์ ์ค ํ๋๋ฅผ ์ํ ํ ์ ์์ต๋๋ค:src/main/resources ๋๋ ํ ๋ฆฌ ์๋์ templates ๋๋ ํ ๋ฆฌ๋ฅผ ์์ฑํ๊ณ ํด๋น ๋๋ ํ ๋ฆฌ์ HTML ํ์ผ์ ์ถ๊ฐํฉ๋๋ค.(๊ถ์ฅ...?)๋๋ application.properties ๋๋ application.yml ํ์ผ์์ spring.thymeleaf.check-template-location ์์ฑ์ false๋ก ์ค์ ํ์ฌ ์ด ์์ฑ์ ๋นํ์ฑํํฉ๋๋ค.๋ค์์ application.properties ํ์ผ์์์ด ์์ฑ์ ๋นํ์ฑํํ๋ ์์
๋๋ค:spring.thymeleaf.check-template-location=false ๋ง๋...? ์ด์จ๋ ์ ๋ ํด๊ฒฐํ๊ณ ๋ค์์ผ๋ก๊ฐ๋๋น