Unable to parse configuration of mojo org.apache.maven.plugins:maven-archetype-plugin:2.3:
RT,每次用maven建立一個專案都會出錯.具體報錯的內容如下;
我在cmd中輸入:mvn archetype:create -DgroupId=org.edward.hellomaven -DartifactId=HelloMaven
之後就出錯了
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2
.3:create (default-cli) on project standalone-pom: Unable to parse configuration
of mojo org.apache.maven.plugins:maven-archetype-plugin:2.3:create for paramete
r #: Abstract class or interface 'org.apache.maven.artifact.repository.ArtifactR
epository' cannot be instantiated -> [Help 1]
把
create 改成 generate 就可以了,出現什麼要你選擇,直接回車,就好了
http://stackoverflow.com/questions/29147329/unable-to-create-a-new-maven-hello-world-project
相關推薦
Unable to parse configuration of mojo org.apache.maven.plugins:maven-archetype-plugin:2.3:
RT,每次用maven建立一個專案都會出錯.具體報錯的內容如下;我在cmd中輸入:mvn archetype:create -DgroupId=org.edward.hellomaven -DartifactId=HelloMaven之後就出錯了[ERROR] Failed
Unable to compile class for JSP org.apache.jasper.JasperException: Unable to compile class for JSP
使用eclipse開發一個專案,涉及到一個主專案包含多個子專案。 某些jsp頁面內包含java程式碼。 專案打war包後,在本地的tomcat可以正常啟動和訪問。 但是將war包防止到生產環境中時,可以正常啟動,但是登陸後,頁面報錯了,報錯內容本文下面所示。 ERROR
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project sharp-common: Execution default-test of go
1 [INFO] Scanning for projects... 2 [INFO] 3 [INFO] -----------------------< com.sharp:sharp-common >----------------------- 4 [INFO] Buildin
針對Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1的解決方案
failed led tool data- rdquo xml文件 artifact 裏的 span 背景:本項目使用JDK1.8 編譯maven工程的時候出現如下錯誤: Failed to execute goal org.apache.maven.plugins:m
Struts2配置攔截器自定義棧時拋異常:Unable to load configuration. - interceptor-ref - file:/D:/tomcat_install/webapps/crm/WEB-INF/classes/struts.xml
註意 其他 默認 才會 eba staf -i sta fault 代碼如下: <interceptors> <!-- 註冊自定義攔截器 --> <interceptor name="LoginInterceptor" class="co
Maven異常_02_compile faile_Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project
ces install java def 。。 bsp gin cli 問題 異常:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-comp
Unable to load configuration. - [unknown location]
ref sim xerces unable location font 嚴重 exce ble 嚴重: Exception starting filter StrutsPrepareFilterUnable to load configuration. - [unknown
POM報錯Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from
upd 下載安裝 window lips all org 選中 osi plugins 解決方式一: 1、查看.m2\repository\org\apache\maven\plugins\maven-resources-plugin\下maven-resources-
IntelliJ IDEA遇到Unable to parse template “Class”錯誤
edi pda jdk版本 option ref tps ubunt class 回退 在新安裝的Ubuntu16下運行IntelliJ IDEA時, 遇到一個錯誤,在新建class的時候,提示Unable to parse template “Class” 通過查看 Se
maven 編譯出錯 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean
clip 多次 一個 控件 text 紅色 exe org apach eclipse在使用maven的tomcat控件編譯java程序時,報錯 Failed to execute goal org.apache.maven.plugins:maven-clean-plu
解決maven install報錯信息(Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile )
ide auto javase post splay for except ava class Maven install失敗 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1
maven打包工程出現錯誤 Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
cut apach 解決辦法 blog 研究 gpo failed fire 描述 今天用maven在命令行打包項目的時候出現錯誤: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:
maven install時報錯 Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)
ive form ron dev isp nag about oal KS 今天在一個maven項目上執行maven install命令的時候一直報錯,錯誤信息如下: [INFO] -------------------------------------------
maven報Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6的解決方案
man 一個 art enc resources osi pre read 是我 上面截圖是我在新建maven項目的時候報錯信息提示,我是這麽解決的 1.在pom.xml文件中加入maven-resources-plugin配置 <dependency>
Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.6:war (default-war) on project ca
Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.6:war (default-war) on project cas: Unable to parse configuration of mojo org.apach
打包maven專案時出現Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war)
當一個maven專案是web工程的時候,要注意新增web.xml檔案,一般預設是建立在main目錄下的webapp/WEB-INF/web.xml,當然,如果你選擇了maven 動態模板,會自動幫你建好這個目錄,如果沒有的話,你就要自己建立了。 如果沒有的話,會報錯:[ERROR] Failed
ssh整合的時候 出現錯誤嚴重: Exception sending context initialized event to listener instance of class org.sprin
目前遇到次錯誤,不是100%,可能出現可能不出現,最早認為是applicationContext.xml 配置問題,驗證後確認都是沒有錯的,目前有一個辦法解決,是tomcat問題,更改tomcat的名字,在執行就能正常執行 嚴重: Exception sending con
Maven打包時報Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war解決方案
問題現象: 用Maven打包時,報Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war錯誤。 原因分析: 打包時在WebContent/WEB-INF/資料夾下找不到web.xml檔案。 &nb
tomcat啟動異常,Unable to load configuration. - [unknown location]
1.異常資訊 Unable to load configuration. - [unknown location] at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(Configurat
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
今天用maven在命令列打包專案的時候出現錯誤: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project xxx: There are