2

在将 RepoWeb.war 部署到 JBOSS 7 EAP 服务器时,在控制台上看到的错误如下所示

WFLYCTL0184:    New missing/unsatisfied dependencies:

      service jboss.deployment.unit."RepoWeb.war".component."com.sun.faces.config.ConfigureListener".START (missing) dependents: [service jboss.deployment.unit."RepoWeb.war.war".deploymentCompleteService]
      service jboss.deployment.unit."RepoWeb.war".component."javax.faces.webapp.FacetTag".START (missing) dependents: [service jboss.deployment.unit."RepoWeb.war".deploymentCompleteService]
      service jboss.deployment.unit."RepoWeb.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.deployment.unit."RepoWeb.war".deploymentCompleteService]
      service jboss.deployment.unit."RepoWeb.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.deployment.unit."RepoWeb.war".deploymentCompleteService]
      service jboss.deployment.unit."RepoWeb.war".component."org.springframework.web.context.ContextLoaderListener".START (missing) dependents: [service jboss.deployment.unit."RepoWeb.war".deploymentCompleteService]
      service jboss.deployment.unit."RepoWeb.war".component."org.springframework.web.servlet.DispatcherServlet".START (missing) dependents: [service jboss.deployment.unit."RepoWeb.war".deploymentCompleteService]
      service jboss.deployment.unit."RepoWeb.war".component."org.springframework.web.servlet.tags.BindErrorsTag".START (missing) dependents: [service jboss.deployment.unit."RepoWeb.war".deploymentCompleteService]
      service jboss.deployment.unit."RepoWeb.war".component."org.springframework.web.servlet.tags.BindTag".START (missing) dependents: [service jboss.deployment.unit."RepoWeb.war".deploymentCompleteService]
      service jboss.deployment.unit."RepoWeb.war".component."org.springframework.web.servlet.tags.EscapeBodyTag".START (missing) dependents: [service jboss.deployment.unit."RepoWeb.war".deploymentCompleteService]
      service jboss.deployment.unit."RepoWeb.war".component."com.karthik.service.RepoImpl".START (missing) dependents: [service jboss.deployment.unit."RepoWeb.war".deploymentCompleteService]
      service jboss.deployment.unit."RepoWeb.war".component."com.karthik.servlet.RepoServlet".START (missing) dependents: [service jboss.deployment.unit."RepoWeb.war".deploymentCompleteService]   

我提取了部署在服务器上的 RepoWeb.war,在 WEB-INF/lib 文件夹中找到了需要的 jars - spring-core-3.0.5.RELEASE.jar,org.springframework.web.servlet-3.0.0.M3.jar, spring-beans-3.0.5.RELEASE.jar、spring-context-3.0.5.RELEASE.jar、spring-expression-3.0.5.RELEASE.jar等…… 还有里面的RepoImpl.class和RepoServlet.class类文件夹。

为什么即使部署在服务器上的 war(RepoWeb.war) 包含必要的 jar 和类,我也会收到上述错误。

4

0 回答 0