You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "lohcve (GitHub)" <gi...@apache.org> on 2019/01/04 10:01:22 UTC

[GitHub] [incubator-dubbo] lohcve commented on issue #3098: 关于 Dubbo web-fragment 配置 "org.springframework.web.context.ContextLoaderListener" 监听器

我也是被这个问题坑了一整天,我从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 notifications@dubbo.apache.org