hemanthumashankar0511 commented on code in PR #6401:
URL: https://github.com/apache/hive/pull/6401#discussion_r3029424076
##########
standalone-metastore/metastore-rest-catalog/src/main/java/org/apache/iceberg/rest/standalone/IcebergCatalogConfiguration.java:
##########
@@ -80,9 +78,8 @@ public static ServletRegistrationBean<HttpServlet>
createRestCatalogServlet(Conf
if (descriptor == null || descriptor.getServlet() == null) {
throw new IllegalStateException("Failed to create Iceberg REST Catalog
servlet");
}
-
- ServletRegistrationBean<HttpServlet> registration =
- new ServletRegistrationBean<>(descriptor.getServlet(), "/" +
servletPath + "/*");
+ ServletRegistrationBean<?> registration =
Review Comment:
At first, IntelliJ was showing red lines when I tried the jakarta import. I
didn't see the 'Add to classpath' option initially when I hovered over the
error, so I used the generic <?> as a temporary fix to get the code to compile
locally. I see how to fix the classpath now so I'll restore the specific
HttpServlet with jakarta import
--
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]