sofastack / sofa-boot

SOFABoot is a framework that enhances Spring Boot and fully compatible with it, provides readiness check, class isolation, etc.
https://www.sofastack.tech/sofa-boot/docs/Home
Apache License 2.0
4.95k stars 1.26k forks source link

Jvm communication fails under the same process #449

Closed bjmengyu closed 4 years ago

bjmengyu commented 5 years ago

服务提供者jar里的代码 @SofaService( interfaceType = LogicflowVersionSyncService.class ) public class LogicflowVersionSyncServiceImpl implements LogicflowVersionSyncService {

使用者 @SofaReference(interfaceType = LogicflowVersionSyncService.class) private LogicflowVersionSyncService logicflowVersionSyncService;

异常: EmptyTargetSource: no target class, static

sofastack-bot[bot] commented 5 years ago

Hi @bjmengyu, we detect non-English characters in the issue. This comment is an auto translation by @sofastack-robot to help other users to understand this issue.

We encourage you to describe your issue in English which is more friendly to other users.

The code in the service provider jar @SofaService( interfaceType = LogicflowVersionSyncService.class ) public class LogicflowVersionSyncServiceImpl implements LogicflowVersionSyncService {user@SofaReference(interfaceType = LogicflowVersionSyncService.class) private LogicflowVersionSyncService logicflowVersionSyncService; Exception: EmptyTargetSource: no target class, static

caojie09 commented 5 years ago

Can you provide a demo?