org.apache.jasper.JasperException: JSP를 위한 클래스를 컴파일할 수 없습니다.

블로깅을 쉰 지 너무 오래되서 그런가...
그동안 공부한 건 많은데 왜이리 정리하기가 귀찮은지
다시 시작하려고 새로운 환경설정 잡다가 가끔씩 마주치는 경우 때문에

블로깅을 해보려고 한다.
아래 메세지가 뜨면서 jsp를 컴파일 할 수 없다고 할 경우

The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit


tomcam 경로에
web.xml 에
org.apache.jasper.servlet.JspServlet가 잘 등록? 되어 있는지 확인한다.

그리고 있다면, 아래의 설정이 없어서 그렇다.
아래의 설정을 추가 해준다.

<init-param>
<param-name>mappedfile</param-name>
<param-value>false</param-value>
</init-param>




아래의 링크에 mappedfile 설정 true / false를 잘 비교해 주고 있다.


댓글

이 블로그의 인기 게시물

About JVM Warm up

About idempotent

About Kafka Basic

About ZGC

sneak peek jitpack

Spring Boot Actuator readiness, liveness probes on k8s

About Websocket minimize data size and data transfer cost on cloud

About G1 GC

대학생 코딩 과제 대행 java, python, oracle 네 번째