본문 바로가기
프로그래밍/웹개발(WEB)

[Tomcat]자바 버전별 맞는 톰캣 버전 고르기

by imfireguy 2021. 4. 8.
반응형

@anthony-riera unsplash

 

자바 버전별 맞는 톰캣 버전 고르기
Servlet Spec JSP Spec EL Spec WebSocket Spec Authentication (JASIC) Spec Apache Tomcat Version Latest Released Version Supported Java Versions
5.0 3.0 4.0 2.0 2.0 10.0.x 10.0.4 8 and later
4.0 2.3 3.0 1.1 1.1 9.0.x 9.0.44 8 and later
3.1 2.3 3.0 1.1 1.1 8.5.x 8.5.64 7 and later
3.1 2.3 3.0 1.1 N/A 8.0.x (superseded) 8.0.53 (superseded) 7 and later
3.0 2.2 2.2 1.1 N/A 7.0.x 7.0.108 6 and later
(7 and later for WebSocket)
2.5 2.1 2.1 N/A N/A 6.0.x (archived) 6.0.53 (archived) 5 and later
2.4 2.0 N/A N/A N/A 5.5.x (archived) 5.5.36 (archived) 1.4 and later
2.3 1.2 N/A N/A N/A 4.1.x (archived) 4.1.40 (archived) 1.3 and later
2.2 1.1 N/A N/A N/A 3.3.x (archived) 3.3.2 (archived) 1.1 and later

 

 

Apache Tomcat® - Which Version Do I Want?

Apache Tomcat® is an open source software implementation of a subset of the Jakarta EE (formally Java EE) technologies. Different versions of Apache Tomcat are available for different versions of the specifications. The mapping between the specifications

tomcat.apache.org

 

간단하게 정리하자면 

 

자바 5 - 톰캣 6(이하 사용 가능합니다.)

자바 6 - 톰캣 7(이하 사용 가능합니다.)

자바 7 - 톰캣 8(이하 사용 가능합니다.)

자바 8(이상) - 톰캣 9(이하 사용 가능합니다.)

 

톰캣 사용 시 자바 버전뿐만 아니라 내부에 servlet-api, jsp-api 버전도 같이 맞춰 주시면 좋겠습니다.(권장)

 

*이 포스팅은 쿠팡파트너스 활동을 통해 수수료를 지급받고 있습니다

 

 

 

반응형

댓글