You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/09/14 04:52:58 UTC

[GitHub] zlclovetb edited a comment on issue #2504: Dubbo 2.6.2版本非spring项目上调用rmi协议提供的服务出错,而调用dubbo默认协议提供的服务正常

zlclovetb edited a comment on issue #2504: Dubbo 2.6.2版本非spring项目上调用rmi协议提供的服务出错,而调用dubbo默认协议提供的服务正常
URL: https://github.com/apache/incubator-dubbo/issues/2504#issuecomment-421226038
 
 
   > You can debug this class :
   > 
   > org.apache.dubbo.common.extension.ExtensionLoader#loadExtensionClasses
   
   很容易测试出来,随便写一个main方法就重现了,经我测试发现,dubbo2.6.2要引入spring-context才能使用rmi协议。也就是说现在的dubbo一定要使用spring了吗?
   
   我用maven写了一个简单的main客户端,只要exclusion了spring,rmi协议就用不了
       <dependency>
         <groupId>com.alibaba</groupId>
         <artifactId>dubbo</artifactId>
         <version>2.6.2</version>
         <exclusions>
         	<exclusion>
         		<groupId>org.springframework</groupId>
         		<artifactId>spring-context</artifactId>
         	</exclusion>
         </exclusions>
       </dependency>

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org