简体   繁体   English

mvn maven-thucydides-plugin JAR访问被拒绝

[英]mvn maven-thucydides-plugin JAR access denied

I was working correctly with Selenium + Thucydides, but for some reason I got this error now when I am running clean install skipping tests. 我使用Selenium + Thucydides可以正常使用,但是由于某些原因,当我运行全新安装跳过测试时,现在出现此错误。

[WARNING] error reading C:\\path.m2\\repository\\org\\seleniumhq\\selenium\\selenium-server\\2.43.1\\selenium-server-2.43.1.jar; [警告]读取C:\\ path.m2 \\ repository \\ org \\ seleniumhq \\ selenium \\ selenium-server \\ 2.43.1 \\ selenium-server-2.43.1.jar时出错; C:\\path.m2\\repository\\org\\seleniumhq\\selenium\\selenium-server\\2.43.1 \\selenium-server-2.43.1.jar (Access is denied) C:\\ path.m2 \\ repository \\ org \\ seleniumhq \\ selenium \\ selenium-server \\ 2.43.1 \\ selenium-server-2.43.1.jar(访问被拒绝)

[ERROR] Failed to execute goal net.thucydides.maven.plugins:maven-thucydides-plugin:0.9.268:aggregate (thucydides-reports) on project mdpubgui: Execution thucydides-reports of goal net.thucydides.maven.plugins:maven-thucydides- plugin:0.9.268:aggregate failed: Could not read from the JAR file: [错误]无法在项目mdpubgui上执行目标net.thucydides.maven.plugins:maven-thucydides-plugin:0.9.268:aggregate(thucydides-reports):执行目标网络的thucydides-reports报告net.thucydides.maven.plugins:maven -thucydides-插件:0.9.268:聚合失败:无法从JAR文件中读取:

Is like the plugin is not able to access to the jar, but the jar is correctly located in the repository, and was working few days ago. 就像插件无法访问jar一样,但是jar正确位于存储库中,并且在几天前就可以使用了。

Maybe is because of some OS update? 也许是因为某些操作系统更新? Any clue is really appreciated 任何线索都非常感谢

Windows 10 Maven 3 Java 8 Windows 10 Maven 3 Java 8

最终似乎问题出在操作系统的限制下,我更改了M2设置并将存储库移至计算机中的另一个位置,然后一切又开始正常工作,因此出于某种原因JAR文件已被锁定。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM