java: package org.apache.hadoop.hive.metastore does not exist

1. Background:

Yesterday, my colleague added hadoop dependencies to a project. After pulling the code, the service kept prompting that the jar package does not exist, but there is a local jar package library. Very annoyed, after trying many methods to no avail, finally saw the sunny day again.

 2. There is no problem with the hadoop package:

1: First click MAVEN on the right side of the idea, find the wrong item, and click "M".

 

2: Enter: mvn idea:idea

3: Wait for confirmation, and then run it.

 3. Summary.

    Problems are like obstacles, the more they are solved, the smoother the road. I have been working overtime recently, and some blog series are more forgiving.

Guess you like

Origin blog.csdn.net/weixin_42188778/article/details/126153696