Spring boot (2) 썸네일형 리스트형 [Spring Boot] Path with "WEB-INF" or "META-INF" 에러 다음과 같은 에러가 발생했다. Path with "WEB-INF" or "META-INF": [WEB-INF/views/board/form.jsp] application.properties에 다음과 같이 경로 설정도 잘 해놓았고 무엇이 문제인가 싶었다. # jsp spring.mvc.view.prefix=/WEB-INF/views/ spring.mvc.view.suffix=.jsp 원인은 jsp 관련 의존성을 추가하지 않았기 때문이다. implementation 'javax.servlet:jstl' implementation 'org.apache.tomcat.embed:tomcat-embed-jasper' 참고 https://needneo.tistory.com/134 [Springboot] Path wi.. [JPA] Part.02_Hibernate를 활용한 JPA 사용(CRUD 연습) 사전 세팅 아래와 같이 3개의 파일을 생성한다. 파일 명칭은 본인이 컨트롤하는 테이블 명칭에 빗대어 작성해본다. - Product.java : DB에 테이블과 매칭되는 클래스. Entity를 생성한다. - ProductRepository.java : DB Layer에 접근하는 인터페이스 - ProductController.java : DB를 브라우저에서 요청하여 호출할 수 있도록 해주는 컨트롤러 Product.java package com.example.test.domain; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persisten.. 이전 1 다음