请帮助我:在执行maven时出现以下依赖项错误:
未能在项目com.automation.selenium上执行目标:无法解析项目com.a的依赖项utomation:com.automation.selenium:jar:0.0.1-snapshot:找不到jxgrabkey:jxgrabkey:jar:1.0
在pom.xml中,我添加了以下详细信息:
<!-- https://mvnrepository.com/artifact/jxgrabkey/jxgrabkey -->
<dependency>
<groupId>jxgrabkey</groupId>
<artifactId>jxgrabkey</artifactId>
<version>1.0</version>
</dependency>
2条答案
按热度按时间gpfsuwkq1#
我找到了你需要的jar。您必须下载这个,并将其添加到类路径中。因为您没有为这个jar使用maven的选项。可能它们已从存储库中删除。
https://labs.consol.de/maven/repository/jxgrabkey/jxgrabkey/1.0/
谢谢你。
gwbalxhn2#
对于上面的例子,说起来很奇怪,但是在mastermaven项目中添加了依赖项“jxgrabkey”,并重新构建了项目。后来又从maven项目中删除了依赖项,它清除了所有错误。
奇怪,但对我有用
你好,桑托什