An attempt was made to call the method com.google.common.collect.Multimaps.asMap(Lcom/google/common/collect/ListMultimap;)Ljava/util/Map; but it does not exist. Its class, com.google.common.collect.Multimaps, is available from the following locations:
jar:file:/D:/tools/maven/data/org/apache/hive/hive-exec/1.1.0-cdh5.7.0/hive-exec-1.1.0-cdh5.7.0.jar!/com/google/common/collect/Multimaps.class
jar:file:/D:/tools/maven/data/com/google/guava/guava/14.0.1/guava-14.0.1.jar!/com/google/common/collect/Multimaps.class
It was loaded from the following location:
file:/D:/tools/maven/data/org/apache/hive/hive-exec/1.1.0-cdh5.7.0/hive-exec-1.1.0-cdh5.7.0.jar
jar:file:/D:/tools/maven/data/org/apache/hive/hive-exec/1.1.0-cdh5.7.0/hive-exec-1.1.0-cdh5.7.0.jar!/com/google/common/collect/Multimaps.class
jar:file:/D:/tools/maven/data/com/google/guava/guava/14.0.1/guava-14.0.1.jar!/com/google/common/collect/Multimaps.class
It was loaded from the following location:
file:/D:/tools/maven/data/org/apache/hive/hive-exec/1.1.0-cdh5.7.0/hive-exec-1.1.0-cdh5.7.0.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of com.google.common.collect.Multimaps
Solution
(istMultimap;)Ljava/util/Map; but it does not exist. Its class, com.google.common.collect.Multimaps,) This sentence already explains that the method can not be found, hive-exec inside the use of Multimaps method is not available under guava package, finally found that it is the version of the problem, add the following problem solved
Read More:
- [Solved] GRPC-Server Error: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String; CLjava
- [Solved] SpringBoot Startup Error: Description:Web server failed to start. Port 9090 was already in use.(win10)
- Springboot reports an error After adding the import annotation: application failed to start
- [Solved] SpringBoot Project Startup Error: Field userMapper in com.demo.controller.MemberController required a bean of type ‘c
- springboot jsp: There was an unexpected error (type=Not Found, status=404). No message available
- [Solved] fragment error: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.myapplication/com.example.myapplication.MainActivity}…
- [Solved] Springboot Package jar and Startup Error: It was loaded from the following location
- Springboot Project: How to Introduces Local Jar Package
- Springboot Project Error: Failed to execute goal org.apache.maven.plugins
- Android studio compilation failed: java.util.concurrent.ExecutionException: com.android.ide.common.process.Process
- [Solved] SpringBoot Pack Project: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources
- Android solution Java.util.concurrent.ExecutionException: com.Android.ide.common.process.ProcessException: exception
- [Solved] SpringBoot+Dubbo Startup Error: Fail to start server(url dubbo192.168.0.920880service
- [ERROR] Failed to execute goal on project simple-project: Could not resolve dependencies for project
- [Solved] SpringBoot Startup Error: Unable to start LiveReload server
- [Solved] SpringBoot+Dubbo Startup Error: Fail to start server(url: dubbo://192.168.0.9:20880/service
- Springboot integrates Redis annotation and access error: java.io.NotSerializableException: com.demo.entity.MemberEntity
- [Solved] SpringBoot Error: Property ‘mapperLocations‘ was not specified.
- [Solved] SpringBoot Create Project and Failed to Access localhost:8080 Error
- Springboot mybatis Integrate Error: Invalid bound statement (not found): com…DepartmentMapper.save