Spring|Spring boot 整合hive-jdbc导致无法启动的问题

使用Spring boot整合Hive,在启动Spring boot项目时,报出异常:

java.lang.NoSuchMethodError: org.eclipse.jetty.servlet.ServletMapping.setDefault(Z)V1

经过排查,是maven的包冲突引起的,具体做法,排除:jetty-all、hive-shims依赖包。对应的pom配置如下:
org.apache.hive hive-jdbc 1.2.1 org.eclipse.jetty.aggregate jetty-all org.apache.hive hive-shims


【Spring|Spring boot 整合hive-jdbc导致无法启动的问题】转载于:https://www.cnblogs.com/itboys/p/10078393.html

    推荐阅读