본문 바로가기

Eclipse

(4)
javax.el.ELException: Cannot convert [true] of type [class java.lang.Boolean] to [class java.lang.Long] 오류 원인, 해결 방법 에러 메시지 에러 메시지 javax.el.ELException: Cannot convert [true] of type [class java.lang.Boolean] to [class java.lang.Long]는 EL(Expression Language) 표현식에서 데이터 타입 변환이 실패한 것을 나타낸다. 이 에러는 ${login-state==true} 부분에서 발생하였는데, login-state 변수가 예상과 달리 Long 타입으로 설정되어 있다고한다. 해결 방법 변수명을 'login-state'에서 'loginstate'로 바꿔주니 해결되었다. EL표기식에서 login-state를 변수명으로 인식하지 못 했던 것 같다.
An error has occurred. See error log for more details.'boolean co m.ibm.icu.text.UTF16.isSurrogate(char)' 오류 원인, 해결방법 오류 문구 이클립스를 실행하자마자 아래 오류문구가 계속 뜬다. An error has occurred. See error log for more details.'boolean co m.ibm.icu.text.UTF16.isSurrogate(char)' 오류 원인 스프링을 설치하고 이클립스를 실행했을 때 나타나는 오류라고 한다. 해결 방법 window-preferences-Java-Mark Occurrence 순서로 들어가 아래 체크박스를 해제한다.
이클립스(eclipse) Several ports (8050, 8383) required by Tomcat v9.0 Server at localhost are already in use. 오류 원인, 해결 방법 오류 문구 Several ports (8050, 8383) required by Tomcat v9.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s). 오류 원인 사용할 서버포트가 이미 사용되고 있어서 발생하는 오류다. "8050", "8383" 서버포트가 다른 프로세스에 의해서 이미 사용되고 있다고 한다. 해결 방법 (3가지) 1. 포트번호를 다른 번..
이클립스(eclipse) Error occurred during initialization of boot layer 오류 원인, 해결 방법 오류 문구 Error occurred during initialization of boot layer java.lang.module.FindException: Error reading module: C:\Users\meata\eclipse-workspace\NewTest\bin Caused by: java.lang.module.InvalidModuleDescriptorException: TestTest.class found in top-level directory (unnamed package not allowed in module) 오류 원인 클래스 파일이 적절한 디렉토리구조에 위치하지 않을 때 발생한다. "TestTest.class"파일이 상위 레벨 디렉토리에 있다고 쓰여있다. 해결 방법 클래스를 적..