Cannot resolve org.apache.hive:hive-jdbc:2.1.1-cdh6.3.4
时间: 2024-05-02 14:20:29 浏览: 182
This error usually occurs when the Maven repository cannot find the required artifact for the specified version. In this case, it seems that the artifact "org.apache.hive:hive-jdbc:2.1.1-cdh6.3.4" is not available in the Maven repository.
To resolve this issue, you can try the following:
1. Check if the Maven repository is properly configured in your project. Ensure that the repository URL and credentials are correct.
2. Check if the artifact is available in a different version. You can try using a different version of the "hive-jdbc" artifact.
3. If the artifact is not available in any version, you can manually download the JAR file and add it to your project's classpath.
4. You can also try adding the Cloudera repository to your project's pom.xml file. Here is an example:
```
<repositories>
<repository>
<id>cloudera</id>
<url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
</repository>
</repositories>
```
Once you have added this repository, try running the Maven command again to see if it resolves the issue.
阅读全文