maven:Failure to transfer org.apache.maven.plugins

myeclips創建maven項目後提示一堆錯誤,pom.xml顯示紅色錯誤:
在這裏插入圖片描述

CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2

解決方案
進入配置的repo倉庫:
例如:F:\software\maven\repository\org\apache\maven\plugins
文件夾裏面以.lastUpdated結尾的文件表示未能成功下載,可以直接把文件夾刪除
然後在pom.xml文件中配置下載完整的的插件版本
在這裏插入圖片描述

參考:
pom文件報錯
"Failure to transfer org.apache.maven.plugins:maven-compiler-plugin"解決方案
解決Plugin org.apache.maven.plugins:maven-archetype-plugin:RELEASE or one of its dependencies…

Description	Resource	Path	Location	Type
Cannot nest output folder 'ssm_crud_maven/src/main/webapp/src/main/webapp/WEB-INF/classes' inside 'ssm_crud_maven/src'	ssm_crud_maven		line 1	Maven Configuration Problem

在這裏插入圖片描述
在這裏插入圖片描述
然後會多出下面一個src的文件夾

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章