Pre-check

  • [x] I am sure that all the content I provide is in English.

Search before asking

  • [x] I had searched in the issues and found no similar issues.

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

dubbo3.x+ spring3.x+apolllo2.4

Steps to reproduce this issue

java.lang.NoSuchMethodError: org.springframework.core.env.CompositePropertySource.getPropertySources()Ljava/util/Collection; org.apache.dubbo.config.spring.util.EnvironmentUtils.extract(EnvironmentUtils.java:102) org.apache.dubbo.config.spring.util.EnvironmentUtils.doGetPropertySources(EnvironmentUtils.java:95) org.apache.dubbo.config.spring.util.EnvironmentUtils.doExtraProperties(EnvironmentUtils.java:65) org.apache.dubbo.config.spring.util.EnvironmentUtils.extractProperties(EnvironmentUtils.java:58) org.apache.dubbo.config.spring.util.EnvironmentUtils.filterDubboProperties(EnvironmentUtils.java:120) org.apache.dubbo.config.spring.context.DubboInfraBeanRegisterPostProcessor.postProcessBeanFactory(DubboInfraBeanRegisterPostProcessor.java:89) org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:703) org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:642) org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:651) org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:602) org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:665) org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:521) org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:462) org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136) javax.servlet.GenericServlet.init(GenericServlet.java:158)

What you expected to happen

修复spring3

Anything else

No response

Are you willing to submit a pull request to fix on your own?

  • [x] Yes I am willing to submit a pull request on my own!

Code of Conduct

Comment From: jianyun

重复