yangfuhai commented on issue #2570: dubbo无法在 【非spring + tomcat】环境下运行 URL: https://github.com/apache/incubator-dubbo/issues/2570#issuecomment-424994389 > @yangfuhai could u pls. provide a demo to reproduce this problem? 已经定位到问题,原因是当排除spring依赖后,dubbo 2.6.3 下有web-fragment.xml文件,web-fragment.xml会自动去加载 org.springframework.web.context.ContextLoaderListener 导致tomcat无法正常启动。 建议修改: ContextLoaderListener 修改为 DubboContextLoaderListener,在 DubboContextLoaderListener 里去查看spring是否存在,存在就启动spring 的 ContextLoaderListener,否则什么都不做。
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
