- my spring boot 2.0.3 tomcat version 8.5.37 will report
10-Jan-2019 08Groupe 59,36.509 RMI TCP Connection [RMI TCP Connection (3)-127.0.0.1] org.apache.catalina.core.ApplicationContext.log 2 Spring WebApplicationInitializers detected on classpath
this would not be a problem under normal circumstances, but once dubbo 2.6.5 is integrated, the following error will occur and the project cannot be started.
`org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
java.lang.IllegalStateException: Cannot initialize context because there is already a root application context present-check whether you have multiple ContextLoader* definitions in your web.xml! `
after actual testing, any spring boot 2.0.x project will appear 2 Spring WebApplicationInitializers detected on classpath when the external tomcat is started. Everything that should be set for external startup has been set up. But will report this question
ask God for advice