mvn clean 之后 install Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test

如图所示

mvn clean 之后 install Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test

 

解决办法,降低版本

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <version>2.20</version>
</plugin>

最后成功

mvn clean 之后 install Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test

 

mvn clean 之后 install Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test

上一篇:css核心


下一篇:python+selenium:点击页面元素时报错:WebDriverException: Message: Element is not clickable at point (1372.5, 9.5). Other element would receive the click: