Hi Hive developer community,

I hope this message finds you well.

I am encountering an issue while trying to establish a JDBC connection to Hive 
Server 2 using Java. I am currently working with Jetty 11, which requires 
Servlet classes to be instances of Jakarta instead of Javax.
This is leading to an exception, as shown in the snippet of the stacktrace 
below:

Caused by: org.springframework.boot.web.server.WebServerException: Unable to 
start embedded Jetty server
               ... 49 more
Caused by: jakarta.servlet.UnavailableException: Servlet class 
org.apache.jasper.servlet.JspServlet is not a jakarta.servlet.Servlet

I have experimented with several recent versions of the JDBC driver (e.g., 
org.apache.hive:hive-jdbc:3.1.3), but the issue persists. Are there known 
compatibility issues between the Hive JDBC driver and Jetty 11?
Additionally, could you advise on any possible workarounds or alternative 
driver versions that might resolve this issue?

I appreciate your time and assistance in this matter.

Best Regards,
Aditya



[Domo]<https://www.domo.com/>
Aditya Malhotra
Senior Software Engineer - India
CEL
+91 9250311355


----------------------------------------------------------------------
This email may contain Domo confidential information and is intended only for 
the use of the individual to whom it is addressed. If you are not the intended 
recipient, please immediately notify the sender and delete the message from 
your system.

Reply via email to