Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- analytics4
- IntelliJ
- PostgreSQL
- MariaDB
- Python
- 자바
- pem
- java
- 리눅스
- mysql
- docker
- github
- iBatis
- SQL
- 호이스팅
- oracle
- isNotEmpty
- Linux
- 404error
- 명령어
- Kibana
- 티스토리챌린지
- Javascript
- 오블완
- git
- DBMS
- spring
- springboot
- pandas
- mssql
Archives
- Today
- Total
hanker
Cannot resolve MVC view ... 404 Error 본문
반응형
Cannot resolve MVC view ... 404 Error 가 발생
index.html 파일을 읽기위해 Controller를 생성해서 return 값을 줄 때
Cannot resolve MVC view .. 라는 경고가 발생하며 404 Error가 떴다.
* 해결
1. pom.xml 파일에
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
추가해주면 경고가 사라지고 404 Error도 사라진다
2. 경로에 파일이 없을 때에도 경고가 뜬다.
이렇게 boot.html 파일을 만들어 주면 경고가 사라진다.
반응형