• 카테고리

    질문 & 답변
  • 세부 분야

    백엔드

  • 해결 여부

    미해결

system.out.println 에러

22.04.04 22:20 작성 조회수 1.13k

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

Choi근욱님의 프로필

Choi근욱

2024.01.23

해결하셨는지 모르겠지만 제가 첨부한 글 참고하시길 바랍니다.

https://velog.io/@sonyak-ku/Unrecognized-option-add-opens-when-passed-with-JAVAOPTIONS

0

동헌님의 프로필

동헌

2023.10.30

저도 그러네요 얼른 답변 해주세요