Skip to content

an issue while running the application locally #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cmgyqjj opened this issue Jul 18, 2023 · 0 comments
Open

an issue while running the application locally #4

cmgyqjj opened this issue Jul 18, 2023 · 0 comments

Comments

@cmgyqjj
Copy link

cmgyqjj commented Jul 18, 2023

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

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.

@cmgyqjj cmgyqjj changed the title 本地运行遇到的问题 an issue while running the application locally Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant