***************************
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.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:183)
The following method did not exist:
org.apache.tomcat.util.modeler.Registry.disableRegistry()V
The method's class, org.apache.tomcat.util.modeler.Registry, is available from the following locations:
jar:file:/D:/eclipse-jee-oxygen-2-win32-x86_64/apache-tomcat-7.0.67/lib/tomcat-coyote.jar!/org/apache/tomcat/util/modeler/Registry.class
jar:file:/D:/localRepository/org/apache/tomcat/embed/tomcat-embed-core/9.0.53/tomcat-embed-core-9.0.53.jar!/org/apache/tomcat/util/modeler/Registry.class
The class hierarchy was loaded from the following locations:
org.apache.tomcat.util.modeler.Registry: file:/D:/eclipse-jee-oxygen-2-win32-x86_64/apache-tomcat-7.0.67/lib/tomcat-coyote.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of org.apache.tomcat.util.modeler.Registry
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.5.5)
2023-08-05 01:35:05.661 INFO 7920 --- [ main] com.macro.mall.MallAdminApplication : Starting MallAdminApplication using Java 1.8.0_341 on ThinkPad-T440p-ZWF with PID 7920 (E:\Workspace_gihub\mall-master\mall-admin\target\classes started by Administrator in E:\Workspace_gihub\mall-master\mall-admin)
2023-08-05 01:35:05.675 DEBUG 7920 --- [ main] com.macro.mall.MallAdminApplication : Running with Spring Boot v2.5.5, Spring v5.3.10
2023-08-05 01:35:05.675 INFO 7920 --- [ main] com.macro.mall.MallAdminApplication : The following profiles are active: dev
2023-08-05 01:35:29.822 INFO 7920 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2023-08-05 01:35:29.827 INFO 7920 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2023-08-05 01:35:32.806 INFO 7920 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 2925 ms. Found 0 Redis repository interfaces.
2023-08-05 01:35:36.550 INFO 7920 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'swaggerConfig' of type [com.macro.mall.config.SwaggerConfig$$EnhancerBySpringCGLIB$$4f10600c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-08-05 01:35:37.517 WARN 7920 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is java.lang.NoSuchMethodError: org.apache.tomcat.util.modeler.Registry.disableRegistry()V
2023-08-05 01:35:37.542 INFO 7920 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2023-08-05 01:35:38.052 ERROR 7920 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
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.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:183)
The following method did not exist:
org.apache.tomcat.util.modeler.Registry.disableRegistry()V
The method's class, org.apache.tomcat.util.modeler.Registry, is available from the following locations:
jar:file:/D:/eclipse-jee-oxygen-2-win32-x86_64/apache-tomcat-7.0.67/lib/tomcat-coyote.jar!/org/apache/tomcat/util/modeler/Registry.class
jar:file:/D:/localRepository/org/apache/tomcat/embed/tomcat-embed-core/9.0.53/tomcat-embed-core-9.0.53.jar!/org/apache/tomcat/util/modeler/Registry.class
The class hierarchy was loaded from the following locations:
org.apache.tomcat.util.modeler.Registry: file:/D:/eclipse-jee-oxygen-2-win32-x86_64/apache-tomcat-7.0.67/lib/tomcat-coyote.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of org.apache.tomcat.util.modeler.Registry
==