You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "KeRan213539 (GitHub)" <gi...@apache.org> on 2018/11/21 12:11:50 UTC

[GitHub] [incubator-dubbo] KeRan213539 opened issue #2812: 升级2.6.5后启动报找不到类异常 com.alibaba.spring.util.PropertySourcesUtils

- [x] I have searched the [issues](https://github.com/apache/incubator-dubbo/issues) of this repository and believe that this is not a duplicate.
- [x] I have checked the [FAQ](https://github.com/apache/incubator-dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.

### Environment
* Dubbo version: 2.6.5
* Operating System version: win10
* Java version: 1.8

### Steps to reproduce this issue

使用dubbo-spring-boot-starter,之前是用 dubbo-spring-boot-starter 自动引入的 2.6.2,没问题(除了QOS端口修改不生效),后面听说 2.6.5解决了QOS端口修改不了的问题.
然后通过单独修改 dubbo 版本号的方式升级到了 2.6.5,其他什么都没动.启动项目后报错: com.alibaba.spring.util.PropertySourcesUtils  找不到.
对比了报错部分的源码, 2.6.2 使用的是  com.alibaba.dubbo.config.spring.util.PropertySourcesUtils,该类就在dubbo的jar包里
而 2.6.5 用的是 com.alibaba.spring.util.PropertySourcesUtils 
实在找不到 2.6.5 使用的 PropertySourcesUtils  在哪个包......

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2812 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] cvictory commented on issue #2812: 升级2.6.5后启动报找不到类异常 com.alibaba.spring.util.PropertySourcesUtils

Posted by "cvictory (GitHub)" <gi...@apache.org>.
I also want to know which version you used before you raised your version.
I think this is very important for us.

邪影oO <no...@github.com> 于2018年11月23日周五 下午3:01写道:

> Closed #2812 <https://github.com/apache/incubator-dubbo/issues/2812>.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/incubator-dubbo/issues/2812#event-1983522060>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AD5mbLka0vAFcq4hBbQFbtMymi432u-Kks5ux51OgaJpZM4Ys_qZ>
> .
>


-- 

Best Regard!
cvitory


[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2812 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] jacky8466 commented on issue #2812: 升级2.6.5后启动报找不到类异常 com.alibaba.spring.util.PropertySourcesUtils

Posted by "jacky8466 (GitHub)" <gi...@apache.org>.
> If you are in a hurry, you can add dependency firstly: <dependency> <groupId>com.alibaba.spring</groupId> <artifactId>spring-context-support</artifactId> <version>1.0.2</version> </dependency> I will check the cause of this issue soon later. zhangjr <no...@github.com> 于2018年11月23日周五 下午1:22写道:
> […](#)
> 遇到同样的问题 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <[#2812 (comment)](https://github.com/apache/incubator-dubbo/issues/2812#issuecomment-441158338)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AD5mbKLhAfzI6PhVDRsM5A6CG8azUngXks5ux4YqgaJpZM4Ys_qZ> .
> -- Best Regard! cvitory

按照你的方式,问题已解决,谢谢

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2812 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] jacky8466 commented on issue #2812: 升级2.6.5后启动报找不到类异常 com.alibaba.spring.util.PropertySourcesUtils

Posted by "jacky8466 (GitHub)" <gi...@apache.org>.
遇到同样的问题

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2812 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] KeRan213539 commented on issue #2812: 升级2.6.5后启动报找不到类异常 com.alibaba.spring.util.PropertySourcesUtils

Posted by "KeRan213539 (GitHub)" <gi...@apache.org>.
> I also want to know which version you used before you raised your version. I think this is very important for us. 

之前使用的 2.6.2 因为听说 2.6.5 修复了 QOS 端口无法修改的问题,才升级试试的


[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2812 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] KeRan213539 commented on issue #2812: 升级2.6.5后启动报找不到类异常 com.alibaba.spring.util.PropertySourcesUtils

Posted by "KeRan213539 (GitHub)" <gi...@apache.org>.


> If you are in a hurry, you can add dependency firstly: <dependency> <groupId>com.alibaba.spring</groupId> <artifactId>spring-context-support</artifactId> <version>1.0.2</version> </dependency> I will check the cause of this issue soon later. zhangjr <no...@github.com> 于2018年11月23日周五 下午1:22写道:
> […](#)
> 遇到同样的问题 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <[#2812 (comment)](https://github.com/apache/incubator-dubbo/issues/2812#issuecomment-441158338)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AD5mbKLhAfzI6PhVDRsM5A6CG8azUngXks5ux4YqgaJpZM4Ys_qZ> .
> -- Best Regard! cvitory

灰常感谢~~~

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2812 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] cvictory commented on issue #2812: 升级2.6.5后启动报找不到类异常 com.alibaba.spring.util.PropertySourcesUtils

Posted by "cvictory (GitHub)" <gi...@apache.org>.
If you are in a hurry, you can add dependency firstly:

<dependency>
    <groupId>com.alibaba.spring</groupId>
    <artifactId>spring-context-support</artifactId>
    <version>1.0.2</version>
</dependency>


I will check the cause of this issue soon later.


zhangjr <no...@github.com> 于2018年11月23日周五 下午1:22写道:

> 遇到同样的问题
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/incubator-dubbo/issues/2812#issuecomment-441158338>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AD5mbKLhAfzI6PhVDRsM5A6CG8azUngXks5ux4YqgaJpZM4Ys_qZ>
> .
>


-- 

Best Regard!
cvitory


[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2812 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] KeRan213539 commented on issue #2812: 升级2.6.5后启动报找不到类异常 com.alibaba.spring.util.PropertySourcesUtils

Posted by "KeRan213539 (GitHub)" <gi...@apache.org>.
> I also want to know which version you used before you raised your version. I think this is very important for us. 
之前使用的 2.6.2 因为听说 2.6.5 修复了 QOS 端口无法修改的问题,才升级试试的


[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2812 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] KeRan213539 closed issue #2812: 升级2.6.5后启动报找不到类异常 com.alibaba.spring.util.PropertySourcesUtils

Posted by "KeRan213539 (GitHub)" <gi...@apache.org>.
[ issue closed by KeRan213539 ]

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2812 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo] Dron1sh commented on issue #2812: 升级2.6.5后启动报找不到类异常 com.alibaba.spring.util.PropertySourcesUtils

Posted by "Dron1sh (GitHub)" <gi...@apache.org>.
> > If you are in a hurry, you can add dependency firstly:  com.alibaba.spring spring-context-support 1.0.2  I will check the cause of this issue soon later. zhangjr [notifications@github.com](mailto:notifications@github.com) 于2018年11月23日周五 下午1:22写道:
> > […](#)
> > 遇到同样的问题 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <[#2812 (comment)](https://github.com/apache/incubator-dubbo/issues/2812#issuecomment-441158338)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AD5mbKLhAfzI6PhVDRsM5A6CG8azUngXks5ux4YqgaJpZM4Ys_qZ .
> > -- Best Regard! cvitory
> 
> 按照你的方式,问题已解决,谢谢

PropertySourcesUtils这个类在com.alibaba.spring.util包下,
dubbp-spring-boot-autoconfiguration-starter的RelaxedDubboConfigBinder中
import static com.alibaba.dubbo.config.spring.util.PropertySourcesUtils.getSubProperties;
这个类导入的路径对不上,还是启动不起来
dubbo版本已升级到2.6.5 spring-context-support已经导入版本1.0.2

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2812 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] code4j-chen commented on issue #2812: 升级2.6.5后启动报找不到类异常 com.alibaba.spring.util.PropertySourcesUtils

Posted by "code4j-chen (GitHub)" <gi...@apache.org>.
dubbo版本已升级到2.6.5 spring-context-support已经导入版本1.0.2
同样找不到

> > > If you are in a hurry, you can add dependency firstly:  com.alibaba.spring spring-context-support 1.0.2  I will check the cause of this issue soon later. zhangjr [notifications@github.com](mailto:notifications@github.com) 于2018年11月23日周五 下午1:22写道:
> > > […](#)
> > > 遇到同样的问题 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <[#2812 (comment)](https://github.com/apache/incubator-dubbo/issues/2812#issuecomment-441158338)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AD5mbKLhAfzI6PhVDRsM5A6CG8azUngXks5ux4YqgaJpZM4Ys_qZ .
> > > -- Best Regard! cvitory
> > 
> > 
> > 按照你的方式,问题已解决,谢谢
> 
> PropertySourcesUtils这个类在com.alibaba.spring.util包下,
> dubbp-spring-boot-autoconfiguration-starter的RelaxedDubboConfigBinder中
> import static com.alibaba.dubbo.config.spring.util.PropertySourcesUtils.getSubProperties;
> 这个类导入的路径对不上,还是启动不起来
> dubbo版本已升级到2.6.5 spring-context-support已经导入版本1.0.2

同样找不到

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2812 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org