-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Description
While attempting to run MyRPC on my MAC computer with an M1 chip, I encountered an error message when trying to execute NettyRpcServerMain2 or using the getBean() method from the Spring container to obtain a NettyServer object in NettyRpcServerMain.
The error message indicated that there was
no qualifying bean of type 'com.wzq.rpc.remoting.transport.netty.server.NettyServer' available. as follow.

To ensure that the corresponding object can be obtained correctly, it is recommended to add @ComponentScan(basePackages = {"com.wzq.rpc"}) to either NettyRpcServerMain or NettyRpcServerMain2.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels