-
Notifications
You must be signed in to change notification settings - Fork 26.5k
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
[Bug] Compile native, not support generic invoke #14499
Comments
There is no need to add GenericService to proxy-config.json |
The exception is: com.oracle.svm.core.jdk.UnsupportedFeatureError: Proxy class defined by interfaces [interface com.alibaba.dubbo.rpc.service.GenericService, interface org.apache.dubbo.rpc.service.GenericService, interface org.apache.dubbo.rpc.service.EchoService, interface org.apache.dubbo.rpc.service.Destroyable] not found. Generating proxy classes at runtime is not supported. Proxy classes need to be defined at image build time by specifying the list of interfaces that they implement. Add a [
{
"interfaces": [
"com.alibaba.dubbo.rpc.service.GenericService",
"org.apache.dubbo.rpc.service.GenericService",
"org.apache.dubbo.rpc.service.EchoService",
"org.apache.dubbo.rpc.service.Destroyable"
]
}
] Successfully initiated generic invoke. |
@CrazyHZM PTAL |
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
Dubbo version : 3.3.0-beta.1
Steps to reproduce this issue
Compile native, not support generic invoke
What you expected to happen
Compile native, support generic invoke
Anything else
When the dubbo Maven plugin performs AOT preprocessing, there are no generic interfaces in the created proxy-config.json file
Are you willing to submit a pull request to fix on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: