☕Java/Spring
[20210825] Spring 복습 3 - 프로젝트 개발 전 환경 설정 확인 사항
캔
2021. 8. 25. 21:13
Spring Web MVC 개발 시 Eclipse 설정 사항
Windows-Preferences
* General > Workspace - [Text file encoding]: other: UTF-8
* Java > Compiler - [JDK Compliance] Complier compliance level: 16
- 이클립스의 컴파일러가 사용할 JDK 버전이며 필요시 다른 버전이 사용 가능하다.
* Web > CSS Files - [Creating files] Encoding: ISO 10646/Unicode(UTF-8)
* Web > HTML Files - [Creating files] Encoding: ISO 10646/Unicode(UTF-8)
* Web > JSP Files - [Creating files] Encoding: ISO 10646/Unicode(UTF-8)
프로젝트 이름 오른쪽 클릭 - Properties
* Project Facets - [Runtimes] □ Apache Tomcat v9.0 체크
- Apache Tomcat v9.0이 아닌 서버 사용 시 사용 중인 서버를 체크한다.
- JSP 파일에 “The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path” 오류 해결용