eclipse新建maven專案失敗Could not resolve archetype
昨天晚上在做mapreduce時新建maven專案失敗,到網上找解決方法,最終這個方法可行。這裡轉載記錄一下。
原文作者部落格名 houbin0912。
新建maven專案的時候,報:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the configured repositories.
解決方法為:
在eclipse maven配置中新增新的Catalog配置:
(在eclipse中window–>preference–>maven–>archetypes頁面點選“add remote catalog”,在彈出框中“catalog file”中輸入該xml配置連結,Description處根據自己的喜好填寫;再次新建maven專案時,在catalog的下拉選擇框中選擇剛剛新建的名稱即可)
我用這個方法解決了問題。
附上源部落格地址:
相關推薦
eclipse新建maven專案失敗Could not resolve archetype
昨天晚上在做mapreduce時新建maven專案失敗,到網上找解決方法,最終這個方法可行。這裡轉載記錄一下。 原文作者部落格名 houbin0912。 新建maven專案的時候,報:Could not resolve archetype org.a
新建maven專案提示Could not resolve archetype
配置Archetype Catalogs解決 1、Windows->preferences->maven->archetypes->Add Remote Catalogs Catalog File 輸入:http://repo1.maven.org/
解決創建maven項目Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart問題
下載 -1 mage could nbsp ould pes 最新版 apach 今天用eclipse創建項目的時候報錯如下圖: 解決方案: 1.下載最新版maven-archetype-quickstart-1.1.jar 2.命令行到下載目錄下執行mvn i
Eclipse使用Maven外掛建立Web專案時出錯 Could not resolve archetype org a
分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!  
解決使用eclipse創建maven web項目時報Could not resolve archetype的問題
red ted jar 創建項目 ron aging resolve 命令 自動 前兩天重裝了系統,今天想寫一個項目的時候出現了點問題。 在使用eclipse創建maven web項目時,點Finish後報了Could not resolve archetype的問題。
eclipse maven could not resolve archetype之類的錯誤
span 下載 rep ips logs -s 文件 ref target 先說下網上有種聯網導入的方法 而我的是本地導入的方法 就是導入原型特慢 或者 原型下載都下載不了的問題 解決方法只能 把那個文件下載搞到本地 沒有被墻 就是速度慢 http://repo1.
建立maven專案的時候:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the configured repositories. 解決辦法
問題: https://yq.aliyun.com/ziliao/364921 嘗試沒成功。 https://www.aliyun.com/jiaocheng/296712.html 嘗試沒成功。
新建maven工程時報錯 Could not resolve archetype
3.執行mvn install:install-file -DgroupId=org.apache.maven.archetypes -DartifactId=maven-archetype-quickstart -Dversion=1.1 -Dpackaging=jar -Dfile=maven-arch
Eclipse使用Maven建立Web時錯誤:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap
如圖:接下來在使用剛新增的catalog建立web工程 這個時候就可以看到Eclipse聯網下載了: 這個時候看一下是不是建立成功了如果還是不能建立或者問題沒有解決可以安裝下面的方法:1.刪除maven已經下載的檔案路徑:.m2\repository\org\apache\
Maven 項目創建時遇到問題 (Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the configured repositories.)
href .html 圖片 config pos maven 沒有 web con 解決辦法:配置一下 maven阿裏雲鏡像,親測有效,完美解決! 配置教程: http://blog.java1234.com/blog/articles/252.html 試過網上的
Eclipse新建Maven專案沒有web.xml
場景 在使用Eclipse新建Maven專案後,並沒有web.xml 解決 右擊專案--properties--Project Facets 如果Dynamic Web Module 沒有勾選,請勾選 如果已經勾選,取消勾選後再重新勾選。 看到下面會有一行提示,點選
eclipse新建maven專案預設jre1.5轉為1.8
問題描述:eclipse新建maven專案的時候,預設的jre是1.5的,但是實際很多人都想要1.8的,接下來說一下“小白”的解決方法。大哥/大神繞道而行。 方法一: 1.首先映入眼簾的是專案名直接報錯,當然一看是index.jsp檔案引起的。 這個情況解決如下:
Eclipse新建Maven專案遇到的問題
問題 一. 在使用maven構建完專案之後,index.jsp報錯javax.servlet.http.httpservlet was not found on the java build path。 解決辦法: step1:新增tomcat伺服器。 step2
eclipse新建maven專案時,jsp介面報錯
新建maven專案時jsp介面報The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
eclipse新建Maven專案
1、在eclipse中安裝maven外掛2、點選File->new->maven project,出現彈窗後點擊next。接著在彈窗Select an Archetype中,filter中輸
解決eclipse新建maven專案時 pom.xml 檔案報錯問題
可能是由於maven預設是訪問一個外網的壓縮包倉庫,連線很慢所以導致出錯 ,在自己的倉庫配置檔案 settings.xml 中配置如下<mirror> <id>alimaven</id> <mirrorOf>cent
Maven:Could not resolve archetype
在建立maven-archetype-webapp專案時,總是丟擲以下異常: Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the
eclipse 新建 maven 專案 + 消除錯誤
1.安裝配置 eclipse (這個不是本教程的重點故不贅述了) 2.下載 maven 按下圖提示下載即可,下載完成後直接解壓出來,由於我們是通過 eclipse 來啟用 maven ,因此不需要配置環境變數。 3.修改 maven 的映象倉庫為阿里雲
eclipse新建maven專案和聚合專案
1、new maven project : next 2、勾選 create a simple project : next 3、Group Id:專案的包路徑 如com.jiayou.zjl,之後建立的Controller、Service等包都在該包路徑下。
eclipse新建Maven專案,並轉成Web專案
PS:環境為 JDK 1.7 + Eclipse Mars + Maven 3.3.9 1、配置好JDK環境變數、Maven環境變數、將eclipse自帶的Maven改成自己本地的,修改本地倉庫及settings.xml 2、安裝m2eclipse外掛(基本上eclip