15:00:38.203 [restartedMain] ERROR o.s.b.d.LoggingFailureAnalysisReporter - [report,40] - *************************** APPLICATION FAILED TO START *************************** Description: An attempt was made to call a method that does not exist. The attempt was made from the following location: org.apache.catalina.authenticator.AuthenticatorBase.startInternal(AuthenticatorBase.java:1319) The following method did not exist: javax.servlet.ServletContext.getVirtualServerName()Ljava/lang/String; The method's class, javax.servlet.ServletContext, is available from the following locations: jar:file:/C:/Users/sun/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar!/javax/servlet/ServletContext.class jar:file:/C:/Users/sun/.m2/repository/javax/servlet/javax.servlet-api/4.0.1/javax.servlet-api-4.0.1.jar!/javax/servlet/ServletContext.class jar:file:/C:/Users/sun/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.63/tomcat-embed-core-9.0.63.jar!/javax/servlet/ServletContext.class The class hierarchy was loaded from the following locations: javax.servlet.ServletContext: file:/C:/Users/sun/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar Action: Correct the classpath of your application so that it contains a single, compatible version of javax.servlet.ServletContext
时间: 2023-07-23 12:45:30 浏览: 205
适用于 php-5.2 的 php.ini 中文版
这是一个应用启动失败的错误日志,报错内容是尝试调用一个不存在的方法,可能是由于应用程序的类路径出现了问题,导致无法找到 javax.servlet.ServletContext 这个类的正确版本。建议检查应用程序的依赖项是否正确,并确保只包含一个兼容版本的 javax.servlet.ServletContext 类。
阅读全文