我正在尝试运行labkey 19.1,但它不起作用。
我在linux x64 centos 7上运行tomcat 6版java 11版labkey 19.1版。
我正试图用Java11和LabKey19.1启动tomcat6(catalina),但失败了,下面出现了这个错误。
发生意外错误
org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(Ljavax/servlet/jsp/tagext/Tag;Lorg/apache/tomcat/InstanceManager;Z)V
java.lang.NoSuchMethodError: org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(Ljavax/servlet/jsp/tagext/Tag;Lorg/apache/tomcat/InstanceManager;Z)V
at org.labkey.jsp.compiled.org.labkey.core.view.template.bootstrap.header_jsp._jspService(header_jsp.java:271)
at org.labkey.api.view.JspView.renderView(JspView.java:170)
at org.labkey.api.view.WebPartView.renderInternal(WebPartView.java:371)
at org.labkey.api.view.HttpView.render(HttpView.java:132)
at org.labkey.api.view.HttpView.render(HttpView.java:117)
at org.labkey.api.view.HttpView.include(HttpView.java:512)
at org.labkey.api.view.HttpView.include(HttpView.java:489)
at org.labkey.jsp.compiled.org.labkey.core.view.template.bootstrap.pageTemplate_jsp._jspService(pageTemplate_jsp.java:204)
at org.labkey.api.view.JspView.renderView(JspView.java:170)
at org.labkey.api.view.WebPartView.renderInternal(WebPartView.java:371)
at org.labkey.api.view.HttpView.render(HttpView.java:132)
at org.labkey.api.view.HttpView.render(HttpView.java:117)
at org.labkey.api.action.SpringActionController.renderInTemplate(SpringActionController.java:615)
at org.labkey.api.action.SpringActionController.handleRequest(SpringActionController.java:495)
at org.labkey.api.module.DefaultModule.dispatch(DefaultModule.java:1265)
at org.labkey.api.view.ViewServlet._service(ViewServlet.java:204)
at org.labkey.api.view.ViewServlet.service(ViewServlet.java:131)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.labkey.api.data.TransactionFilter.doFilter(TransactionFilter.java:38)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.labkey.api.module.ModuleLoader.doFilter(ModuleLoader.java:1220)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.labkey.api.security.AuthFilter.doFilter(AuthFilter.java:215)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.labkey.core.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:834)
request attributes
LABKEY.OriginalURL = https://localhost/labkey/project/home/begin.view?
LABKEY.StartTime = 1623203147397
LABKEY.action = begin
org.springframework.web.servlet.DispatcherServlet.CONTEXT = Root WebApplicationContext: startup date [Tue Jun 08 21:42:11 EDT 2021]; parent: Root WebApplicationContext
LABKEY.controller = project
LABKEY.Counter = 0
X-LABKEY-CSRF = 682372b1fa32a0fa942abc32c0d07ddf
LABKEY.container = /home
LABKEY.RequestURL = /labkey/project/home/begin.view?
LABKEY.OriginalURLHelper = /labkey/project/home/begin.view?
我曾尝试将java更新为Java12,但问题仍然存在,我还将labkey升级为19.3。问题仍然存在,我不确定为什么它总是说这个错误,并阻止tomcat启动。
奇怪的是labkey 18.3正在工作,只有升级到labkey 19.1或更高版本时才会出现此问题。
1条答案
按热度按时间bvjxkvbb1#
我已经将tomcat 6升级到tomcat 9,它解决了这个问题,
问题不在java或labkey中,需要更新的是tomcat。