eye-gu commented on issue #14499:
URL: https://github.com/apache/dubbo/issues/14499#issuecomment-2283163632

   > 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 `proxy-config.json` file, The content is:
   ```json
   [
     {
       "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.


-- 
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: notifications-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to