Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- ibatis
- Docker
- equals
- letterspacing
- http
- 안드로이드 스튜디오
- 톰캣
- integer
- wsdl
- oracle
- Linux
- HTML
- 삼성증권
- 컨트롤러
- 오블완
- MariaDB
- 스레드
- 프로세스
- START WITH
- JDBC
- java
- 스레드 덤프
- cmd
- 티스토리챌린지
- API
- Tomcat
- MySQL
- Database
- 키보드
- 영상편집
Archives
- Today
- Total
블로그 이름
[Tomcat] 톰캣 The type java.util.Map$Entry cannot be resolved 본문
http://1.2.3.4:7070/blazeds/jsp/api/AAAA.jsp
AAAA.jsp로 API 요청을 보낸 뒤 500에러 발생하는 현상이 있었다
HTTP Status 500 - Unable to compile class for JSP:
type Exception report
message Unable to compile class for JSP:
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: [1] in the generated java file: [D:\dev\aaaa\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\blazeds\org\apache\jsp\jsp\api\gAAA_jsp.java]
The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files
An error occurred at line: [1] in the generated java file: [D:\dev\lab\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\blazeds\org\apache\jsp\jsp\api\AAAA_jsp.java]
The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:468)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.47 logs.
Apache Tomcat/7.0.47
톰캣 7.0.47 버전이 자바 1.8 버전과 호환이 안되는 것이 문제였고
자바 1.8 버전과 호환되는 최신 톰캣 7.0.99 버전으로 변경하여 해결하였다.
프로젝트 클린도 하고 톰캣 클린도 했는데 계속 안돼서 애먹었다..
'개발 > 오류' 카테고리의 다른 글
| [HTTP] 415 Unsupported Media Type 에러 (0) | 2024.10.14 |
|---|---|
| [ERROR] No mapping found for HTTP request with URI [/dev/test] in DispatcherServlet with name 'testApiServlet' (0) | 2024.10.14 |
| failed: connection timed out (connection timed out) (4) | 2024.09.06 |
| 자잘한 오류 모음 (0) | 2024.09.05 |
| The method setAAAA(ArrayList<Object>) in the type AAAA is not applicable for the arguments (List<AAAA>) (0) | 2024.09.05 |