gpt4 book ai didi

java - org.apache.catalina.connector.CoyoteAdapter 服务严重 : An exception or error occurred in the container during the request processing

转载 作者:行者123 更新时间:2023-11-28 23:30:22 34 4
gpt4 key购买 nike

尝试访问应用程序时,我们在 Tomcat 中遇到以下错误。错误详情如下。

org.apache.catalina.connector.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request processing java.lang.NullPointerException
at com.ify.sabs.limi.app.servlets.LoginValidate.doPost(LoginValidate.java:77)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

当用户尝试登录到 web 应用程序时,会发生上述问题。我们正在使用 tomcat 6.0.18.0 并收到上述错误。

我也尝试通过 eclipse 运行它并得到以下错误

Jun 29, 2015 4:45:08 PM org.apache.catalina.connector.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request processing
java.lang.AbstractMethodError:org.apache.catalina.authenticator.AuthenticatorBase.authenticate(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;Lorg/apache/catalina/deploy/LoginConfig;)Z
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)

最佳答案

感谢所有问题都已解决。上述问题是因为应用程序无法连接到数据库,因为属性文件路径中的空格字符导致应用程序无法检测到属性文件。修复了同样的问题,问题得到了解决。

关于java - org.apache.catalina.connector.CoyoteAdapter 服务严重 : An exception or error occurred in the container during the request processing,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31112206/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com