【问题标题】:Getting Error 500 in oozie on localhost在 localhost 上的 oozie 中出现错误 500
【发布时间】:2015-06-04 18:55:39
【问题描述】:

在http://localhost:11000/oozie/浏览oozie

它在网页上显示以下错误-

org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 25 in the generated java file
The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory

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:451)
    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:723)
    org.apache.oozie.servlet.AuthFilter$2.doFilter(AuthFilter.java:126)
    org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:585)
    org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:548)
    org.apache.oozie.servlet.AuthFilter.doFilter(AuthFilter.java:131)
    org.apache.oozie.servlet.HostnameFilter.doFilter(HostnameFilter.java:84)

【问题讨论】:

    标签: java tomcat hadoop bigdata oozie


    【解决方案1】:

    我从 oozie 安装目录中删除了以下文件。

    /oozie/oozie-server/webapps/oozie/WEB-INF/lib/servlet-api-2.5.jar

    /oozie/oozie-server/webapps/oozie/WEB-INF/lib/jsp-api-2.0.jar

    oozie web 控制台开始工作

    【讨论】:

    • 感谢您的回答。如果您能添加一些解释,那就太好了。
    • 上面的两个jar和里面的类也可以在下面的目录/oozie/libext/中找到这个会报错
    • 看到同样的问题。但是我的/usr/lib/oozie/libext 中没有 jar。有什么帮助吗?
    • 哇!拯救了这一天!
    【解决方案2】:

    通过检查 libext 文件夹中的冲突 jar 文件解决。

    【讨论】:

    • 您好,请问您是如何解决这个问题的?
    • 由于库冲突而在终端中显示的大部分错误,因此我将它们从 oozie 的 libext 文件夹中删除。
    • 确实,更详细的答案会有所帮助
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-07-10
    • 1970-01-01
    • 1970-01-01
    • 2014-07-12
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多