我也是被这个问题坑了一整天,我从2.6.2升级到2.6.5后,从外部tomcat启动spring boot项目会报错,后来慢慢调试tomcat的源代码才发现多出了一个ContextLoaderListener监听器,dubbo只能用2.6.2的版本,超过这个版本就存在web-fragment.xml 文件,这个文件中配置了一个“org.springframework.web.context.ContextLoaderListener”监听器,导致在外部tomcat中运行spring boot项目时,会执行这个监听器,然后就抛出异常。使用spring boot内嵌tomcat没有问题。
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3098 ] This message was relayed via gitbox.apache.org for [email protected]
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
