Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
KAFKA-16437 remove the dependency of Javax WS RS API and that is required by swagger. see following error stack:
Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118) at io.swagger.v3.plugins.gradle.tasks.ResolveTask.resolve(ResolveTask.java:527) ... 118 more Caused by: java.lang.NoClassDefFoundError: javax/ws/rs/Path at io.swagger.v3.jaxrs2.integration.JaxrsAnnotationScanner.classes(JaxrsAnnotationScanner.java:95) at io.swagger.v3.jaxrs2.integration.JaxrsApplicationAndAnnotationScanner.classes(JaxrsApplicationAndAnnotationScanner.java:10) at io.swagger.v3.oas.integration.GenericOpenApiContext.read(GenericOpenApiContext.java:693) at io.swagger.v3.jaxrs2.integration.SwaggerLoader.resolve(SwaggerLoader.java:332) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ... 119 more Caused by: java.lang.ClassNotFoundException: javax.ws.rs.Path ... 124 more
Hence, we should add Javax WS RS API back for Swagger
Attachments
Attachments
Issue Links
- is related to
-
KAFKA-16437 Upgrade to Jakarta and JavaEE 10 in Kafka 4.0 (KIP-1032)
- Resolved
- links to