eclipse 缺少...的 POM,没有可用的依赖信息
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/26476246/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 22:05:49 来源:igfitidea点击:
The POM for ... is missing, no dependency information available
提问by Kalyan Janakiraman
Hi get the following error when compiling and deploying using STS 3.6 (spring eclipse)
您好,在使用 STS 3.6 (spring eclipse) 编译和部署时出现以下错误
17/10/2014 3:24:22 pm AEDT: [WARN] The POM for au.gov.nsw.lands:spring-common:jar:0.0.6 is missing, no dependency information available
17/10/2014 3:24:22 pm AEDT: [WARN] The POM for gov.lpi.six:WcmUtils:jar:0.0.2 is missing, no dependency information available
17/10/2014 3:24:22 pm AEDT: [WARN] The POM for com.exadel:htmLib:jar:1.0 is missing, no dependency information available
POM exists in the repository and are valid as I am able to compile and deploy using STS 3.2/maven 3.0.2. I
POM 存在于存储库中并且有效,因为我能够使用 STS 3.2/maven 3.0.2 进行编译和部署。一世
Any ideas on how to over come.
关于如何克服的任何想法。
回答by Devloper_b5
- Check your setting.xml and repository path
- Check your windows > preferences > maven > setting (check correct repo path mentioned)
- Also check that proper artifact, group id and version is mentioned in POM.xml
- Check the respective folder path for those dependencies which are not downloaded.
- Delete the respective folder
- Try again with maven > update dependency in eclipse
- 检查您的 setting.xml 和存储库路径
- 检查您的 Windows > 首选项 > maven > 设置(检查提到的正确 repo 路径)
- 还要检查 POM.xml 中是否提到了正确的工件、组 ID 和版本
- 检查未下载的那些依赖项的相应文件夹路径。
- 删除相应的文件夹
- 在 Eclipse 中使用 Maven > 更新依赖重试