首先,我想说我是新手。
我正在使用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
}
答案 0 :(得分:1)
2.1.1版本存在问题。我错过了删除tld声明文件而我们不再使用jsp / tld :-( 它已在主人身上修好了。
您可以在此处使用开发版本进行尝试:https://builds.apache.org/view/A-D/view/Archiva/job/archiva-master-build/
这将在2.1.2版本中修复