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/11 09:34:28 UTC

[GitHub] dz005 commented on issue #2447: [Dubbo-2446]Fix ClassNotFoundException when load Service Interface by parent ClassLoader

dz005 commented on issue #2447: [Dubbo-2446]Fix ClassNotFoundException when load Service Interface by parent ClassLoader
URL: https://github.com/apache/incubator-dubbo/pull/2447#issuecomment-420210737
 
 
   不好意思,我刚看到您的回复,RpcUtils 的单元测试原先就已经有的。
   jarslink做module隔离的场景,我在另一个项目有使用,只是代码量有点多,如果一定需要,我可以后续补上。
   出现ClassNotFoundException的原因是:Service Interface是通过moduleClassLoader加载的,parentClassLoader无法加载到。
   Service Interface 和 Invocation Interface 的ClassLoader是同一个,在逻辑可能会更严谨一些。
   最后感谢您的Merge。

----------------------------------------------------------------
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