2014-11-02 186 views
0

首先,我想說我是新來的。在WildFly上部署archiva 8.1

我正在使用WildFly 8.1,我想爲我所有未來的項目(也使用Maven工作)擁有自己的公共存儲庫,所以我認爲使用Archiva(版本2.1.1)。我已經下載了.WAR文件,將它部署在WildFly服務器中,但是當我嘗試啓用時,它會引發錯誤。這裏我複製錯誤:

Failed to enable apache-archiva-2.1.1.war. 

Unexpected HTTP response: 500 

Request 
{ 
    "address" => [("deployment" => "apache-archiva-2.1.1.war")], 
    "operation" => "deploy" 
} 

Response 

Internal Server Error 
{ 
    "outcome" => "failed", 
    "failure-description" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"apache-archiva-2.1.1.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"apache-archiva-2.1.1.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment \"apache-archiva-2.1.1.war\" 
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.lang.ClassNotFoundException: org.apache.archiva.redback.integration.taglib.jsp.IfConfiguredTag from [Module \"deployment.apache-archiva-2.1.1.war:main\" from Service Module Loader] 
    Caused by: java.lang.ClassNotFoundException: org.apache.archiva.redback.integration.taglib.jsp.IfConfiguredTag from [Module \"deployment.apache-archiva-2.1.1.war:main\" from Service Module Loader]"}}, 
    "rolled-back" => true 
} 

回答

1

2.1.1版本存在問題。我錯過了刪除TLD聲明文件,而我們不再JSP/TLD用:-( 它固定在主

你可以嘗試與一個開發版本,在這裏建:https://builds.apache.org/view/A-D/view/Archiva/job/archiva-master-build/

這將是固定爲2.1.2版本

+0

我已經下載了archiva-webapp-2.1.2-SNAPSHOT.war,並且我無法讓它在野蠻上運行:( – Juanma 2014-11-04 00:29:25

+0

最新版本的archiva是2.2.1。它應該是更正,對嗎? – russellhoff 2017-02-18 14:47:32