[Q/A][Java SDK (Component)] Configured in XML mode, native-image fails to start after generation #15066
Unanswered
Hard-programmers
asked this question in
Question
Replies: 1 comment
-
I can run the test case successfully using the default annotation form |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Pre-check
Apache Dubbo Component
Java Samples (apache/dubbo-samples)
Details
clone https://github.com/apache/dubbo-samples/tree/master/2-advanced/dubbo-samples-native-image-registry
Modify dubbo-samples-native-image-registry-consumer to xml mode
Add
resources/META-INF/dubbo-reference.xml
Modify
org.apache.dubbo.registry.consumer.NativeDemoConsumerRegistryApplication
Actual Behavior
Error creating bean with name 'demoService': Invalid property 'interface' of bean class [org.apache.dubbo.config.spring.ReferenceBean]: Bean property 'interface' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions