1、maven简单项目创建
最简单的demo开始,eclipse中,file-->new-->maven PRoject,创建simple project
创建之后报错,问题为:Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin。。。
问题解决方法:
C:/Users/Administrator/.m2/repository/org/apache/maven/plugins/maven-deploy-plugin路径(个人的可能有所不同,但可以搜索maven-deploy-plugin这个文件夹进行定位),将这个目录下的文件夹删除,
然后右击项目Maven->Update Project->Update Dependencies(如果更新无效,选择强制更新如下图)
新闻热点
疑难解答