인프런 커뮤니티 질문&답변
system.out.println 에러
작성
·
2.3K
0
강의 중 나오는 선언 태그 내 system.out.println~ 구문에서 에러가 발생합니다.
page 지시어로 java.lang.* 을 추가했는데도 실행이 안되네요 ㅠㅠ
왜 이럴까요..
Type Exception Report
Message JSP를 위한 클래스를 컴파일할 수 없습니다.:
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.apache.jasper.JasperException: JSP를 위한 클래스를 컴파일할 수 없습니다.:
JSP 파일 [/jspEx.jsp]의 [22] 행에서 오류가 발생했습니다.
System.out cannot be resolved to a type
19: ArrayList<String> list = new ArrayList<String>();
20:
21: public void jspMethod() {
22: System.out.println("-- jspMethod() --");
23: }
24: %>
25: 답변 2
0
해결하셨는지 모르겠지만 제가 첨부한 글 참고하시길 바랍니다.
https://velog.io/@sonyak-ku/Unrecognized-option-add-opens-when-passed-with-JAVAOPTIONS
0





