[ https://issues.apache.org/jira/browse/HIVE-22717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17442042#comment-17442042 ]
Fucun Chu edited comment on HIVE-22717 at 11/11/21, 2:16 AM: ------------------------------------------------------------- CheckList: 1. Guava version conflict https://issues.apache.org/jira/browse/HIVE-22915 2. The hive-exec module will include the guava when it is packaged * Modify the pom.xml file of the hive-exec module, comment the following content, and then recompile and package {code:java} <include>com.google.guava:guava</include> {code} * Delete the guava class in hive-exec-3.1.2.jar {code:java} zip -d hive-exec-3.1.2.jar "com/google/common/*" {code} was (Author: chufucun): CheckList: 1. Guava version conflict https://issues.apache.org/jira/browse/HIVE-22915 2. The hive-exec module will include the guava when it is packaged * Modify the pom.xml file of the hive-exec module, comment the following content, and then recompile and package {code:java} <include>com.google.guava:guava</include> {code} * Delete the guava class in hive-exec-3.1.2.jar {code:java} zip -d hive-exec-3.1.2.jar "com/google/common/*" {code} > Exception in thread "main" java.lang.NoSuchMethodError: > com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V > -------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HIVE-22717 > URL: https://issues.apache.org/jira/browse/HIVE-22717 > Project: Hive > Issue Type: Bug > Reporter: ZHangTianLong > Priority: Major > -- This message was sent by Atlassian Jira (v8.20.1#820001)