wang-laoshi opened a new issue, #12017:
URL: https://github.com/apache/dubbo/issues/12017

   `Caused by: java.lang.NoClassDefFoundError: 
javax/ws/rs/WebApplicationException
        at 
org.apache.dubbo.rpc.protocol.rest.RestProtocol.<init>(RestProtocol.java:85) 
~[dubbo-3.2.0-beta.6.jar:3.2.0-beta.6]
        at 
jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
~[?:?]
        at 
jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
 ~[?:?]
        at 
jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 ~[?:?]
        at 
java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:480) 
~[?:?]
        at 
org.apache.dubbo.common.beans.support.InstantiationStrategy.instantiate(InstantiationStrategy.java:94)
 ~[dubbo-common-3.2.0-beta.6.jar:3.2.0-beta.6]
        at 
org.apache.dubbo.common.extension.ExtensionLoader.createExtensionInstance(ExtensionLoader.java:832)
 ~[dubbo-common-3.2.0-beta.6.jar:3.2.0-beta.6]
        at 
org.apache.dubbo.common.extension.ExtensionLoader.createExtension(ExtensionLoader.java:791)
 `~[dubbo-common-3.2.0-beta.6.jar:3.2.0-beta.6]`
   
   RestProtocol类里还引用了
   `
   import javax.servlet.ServletContext;
   import javax.ws.rs.ProcessingException;
   import javax.ws.rs.WebApplicationException;`
   三个类,而jdk17里已经没有这三个类了


-- 
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