Standalone fails to start
Summary
After upgrading to 5.8.0 standalone 5.8.0 failed to start
Steps to reproduce
Run axual-platform-test-standalone 5.8.0
Relevant logs and/or screenshots
Click to expand - Logs
2021-10-29 16:37:43.926 INFO 37846 --- [ main] i.a.p.test.standalone.StandaloneMainApp : Starting StandaloneMainApp using Java 1.8.0_201 on Sunnys-MacBook-Pro.local with PID 37846 (/Users/sunny/development/clients/axual-client-java/axual-platform-test-standalone/target/classes started by sunny in /Users/sunny/development/clients/axual-client-java)
2021-10-29 16:37:43.929 INFO 37846 --- [ main] i.a.p.test.standalone.StandaloneMainApp : No active profile set, falling back to default profiles: default
2021-10-29 16:37:45.327 WARN 37846 --- [ 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.catalina.Context.addServletContainerInitializer(Ljavax/servlet/ServletContainerInitializer;Ljava/util/Set;)V
2021-10-29 16:37:45.340 INFO 37846 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-10-29 16:37:45.362 ERROR 37846 --- [ 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.configureContext(TomcatServletWebServerFactory.java:366)
The following method did not exist:
org.apache.catalina.Context.addServletContainerInitializer(Ljavax/servlet/ServletContainerInitializer;Ljava/util/Set;)V
The method's class, org.apache.catalina.Context, is available from the following locations:
jar:file:/org/apache/tomcat/embed/tomcat-embed-core/10.0.12/tomcat-embed-core-10.0.12.jar!/org/apache/catalina/Context.class
The class hierarchy was loaded from the following locations:
org.apache.catalina.Context: file:/repo_axual/org/apache/tomcat/embed/tomcat-embed-core/10.0.12/tomcat-embed-core-10.0.12.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of org.apache.catalina.Context
Process finished with exit code 1
Edited by Sunny Ben-Ari