wfeii1980 commented on issue #192:
URL: https://github.com/apache/dubbo-rust/issues/192#issuecomment-2547411510

   > 现在示例中最新版是v0.4.0,运行的时候报错:
   > 
   > ```
   > error[E0407]: method `request_resource` is not a member of trait 
`crate::common::remote::grpc::message::GrpcRequestMessage`
   >  --> 
C:\Users\17274\.cargo\registry\src\mirrors.aliyun.com-8754fae0eb2f08f1\nacos-sdk-0.3.6\src\common\remote\grpc\message\request\client_detection_request.rs:3:1
   >   |
   > 3 | #[request(identity = "ClientDetectionRequest", module = "internal")]
   >   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
not a member of trait `crate::common::remote::grpc::message::GrpcRequestMessage`
   >   |
   >   = note: this error originates in the attribute macro `request` (in 
Nightly builds, run with -Z macro-backtrace for more info)
   > ```
   > 
   > 我觉得是nacos-sdk 与 
nacos-macro两个库不兼容导致的,nacos-sdk库common::remote::grpc::message::GrpcRequestMessage
 trait 并没有 request_resource 方法,但nacos-macro在实现他
   
   确实 把nacos-sdk升级到0.4.2就可以编译过去,一共两处。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to