Untitled

mail@pastecode.io avatar
unknown
plain_text
12 days ago
1.3 kB
2
Indexable
Never
{"timestamp":"04-Jul-2024 16:24:03.996","level":"ERROR","thread":"main","logger":"org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter","message":"\r\n\r\n***************************\r\nAPPLICATION FAILED TO START\r\n***************************\r\n\r\nDescription:\r\n\r\nAn attempt was made to call a method that does not exist. The attempt was made from the following location:\r\n\r\n    org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.configureContext(TomcatServletWebServerFactory.java:359)\r\n\r\nThe following method did not exist:\r\n\r\n    org.apache.catalina.Context.addServletContainerInitializer(Ljavax/servlet/ServletContainerInitializer;Ljava/util/Set;)V\r\n\r\nThe method's class, org.apache.catalina.Context, is available from the following locations:\r\n\r\n    jar:file:/C:/Users/MuhammadMA/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/10.1.19/tomcat-embed-core-10.1.19.jar!/org/apache/catalina/Context.class\r\n\r\nIt was loaded from the following location:\r\n\r\n    file:/C:/Users/MuhammadMA/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/10.1.19/tomcat-embed-core-10.1.19.jar\r\n\r\n\r\nAction:\r\n\r\nCorrect the classpath of your application so that it contains a single, compatible version of org.apache.catalina.Context\r\n","context":"default"}
Leave a Comment