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를 잘 비교해 주고 있다.


댓글

이 블로그의 인기 게시물

Spring Boot Actuator readiness, liveness probes on k8s

About Kafka Basic

sneak peek jitpack

About JVM Warm up

About ZGC

About G1 GC

About idempotent

Install Jenkins In AWS EC2

erwin DM 으로 Oracle 연결 할 때 뜨는 에러들 해결

Java - HashMap (feat. LinkedList, Tree.. maybe Later)