Created on 09-28-2016 02:50 AM - edited 09-16-2022 03:41 AM
I have installed Cloudera Enterprise Data Hub Edition Trial 5.5.1 recently. After this I am getting following error while opening oozie web console :
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 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:92) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:460) org.apache.jasper.compiler.Compiler.compile(Compiler.java:356) org.apache.jasper.compiler.Compiler.compile(Compiler.java:334) org.apache.jasper.compiler.Compiler.compile(Compiler.java:321) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) javax.servlet.http.HttpServlet.service(HttpServlet.java:820) org.apache.oozie.servlet.AuthFilter$2.doFilter(AuthFilter.java:171) org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:589) org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:552) org.apache.oozie.servlet.AuthFilter.doFilter(AuthFilter.java:176) org.apache.oozie.servlet.HostnameFilter.doFilter(HostnameFilter.java:86)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.44 logs.
After googling a bit, I found out that it is coming after java8-upg 91. I have java8 upg-101 installed on my machine which came by default with this version of cloudera.