2015-06-04 32 views
0

上的webpage-得到錯誤500 Oozie的本地主機上

在libext文件夾衝突的jar文件上 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) 

enter image description here

回答

1

解決支票。

+0

嘿能請你告訴你究竟是如何解決這個問題呢? – arglee

+0

大多數的錯誤,顯示在終端由於衝突的庫,所以我把它們從oozie的libext文件夾中刪除。 –

+0

事實上,更詳細的答案將有助於 – sofia

7

我從oozie安裝目錄中刪除了以下文件。

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

/Oozie的/ Oozie的服務器/ web應用/ Oozie的/ WEB-INF/LIB/JSP -API-2.0.jar

而且Oozie的Web控制檯開始工作

+0

感謝您的答案。如果你可以添加一些解釋,那將是很棒的。 – Sampada

+0

以上兩個罐子及其中的類別也可在以下目錄中找到 /oozie/libext/ 這會導致錯誤 – UST

+0

看到相同的問題。但是'/ usr/lib/oozie/libext'中沒有jar。任何幫助? –

相關問題