[Q/A][Java SDK (Component)] Configured in XML mode, native-image fails to start after generation #15066
Unanswered
bored-boys
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
Uh oh!
There was an error while loading. Please reload this page.
-
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.xmlModify
org.apache.dubbo.registry.consumer.NativeDemoConsumerRegistryApplicationActual 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