자바 프로젝트 생성하는데 발생한 오류들 문제해결
1. Java Version Mismatch 에러
Java compiler level does not match the version of the installed Java project facet. [프로젝트명] Unknown Faceted Project Problem (Java Version Mismatch)

project - properties 에 들어간다
Project Facets 의 자바 버전을 확인

Java Compiler 에 JDK 컴파일러 버전을 맞춰준다. 현재 1.7과 11 맞지않기때문에 오류가 난 것

2. JSP Problem
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path index.jsp /ex1-hello-jpa/src/main/webapp line 1 JSP Problem

project - properties 에 들어간다
Java Build Path 에서 Add Library 클릭해서

Server Runtime 클릭하고 tomcat 선택 > Apply


반응형
LIST
'에러' 카테고리의 다른 글
이클립스 incompatible jvm 에러해결 방법 (0) | 2023.10.25 |
---|---|
h2 라이브러리 사용 + 이클립스 실행시 에러 (0) | 2023.09.22 |
h2 database 연결 실패 에러 not found, File corrupted while reading record 해결방법 (0) | 2023.07.22 |
Multiple markers at this lin 에러 | ajax 기능이 안될 때 해결법 (0) | 2022.11.07 |
@RequestParam 관련 에러 (0) | 2022.07.31 |