Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoClassDefFoundError:com/alibaba/dubbo/config/spring/util/PropertySourcesUtils #326

Closed
SamuelTao opened this issue Dec 12, 2018 · 3 comments

Comments

@SamuelTao
Copy link

SamuelTao commented Dec 12, 2018

引入包:

<dependency>
            <groupId>com.alibaba.boot</groupId>
            <artifactId>dubbo-spring-boot-starter</artifactId>
            <version>0.1.1</version>
        </dependency>
        <!-- Dubbo -->
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>dubbo</artifactId>
            <version>2.6.5</version>
        </dependency>
        <!-- Spring Context Extras -->
        <dependency>
            <groupId>com.alibaba.spring</groupId>
            <artifactId>spring-context-support</artifactId>
            <version>1.0.2</version>
        </dependency>

报错如下:
Error creating bean with name 'com.alibaba.dubbo.config.ApplicationConfig#0': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/alibaba/dubbo/config/spring/util/PropertySourcesUtils

@mercyblitz
Copy link
Contributor

Did you put com.alibaba.spring:spring-context-support into ? It does not work on .

@SamuelTao
Copy link
Author

java.lang.NoClassDefFoundError: com/alibaba/dubbo/config/spring/util/PropertySourcesUtils
并不在这个包里面
image

@nzomkxia nzomkxia reopened this Jan 22, 2019
@mercyblitz
Copy link
Contributor

Plead update starter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants