无法在WildFly中部署

时间:2015-01-08 19:21:38

标签: java jboss ejb resteasy wildfly

我在尝试在WildFly中部署REST端点时遇到了问题。具体来说,我有一个非常简单的应用程序,有一个端点:

项目:https://github.com/CloudBees-community/wildfly-restEasy-ejb-clickstart

当我使用" RUN"将同一个应用程序部署到WildFly(wildfly-8.2)时Eclipse中的按钮我收到以下异常:

JBAS014775:    New missing/unsatisfied dependencies:
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".WeldBootstrapService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.weld.servlet.WeldTerminalListener".WeldInstantiator, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".WeldInstantiator, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".WeldInstantiator, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".WeldStartService, JBAS014799: ... and 6 more ] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".WeldStartService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.weld.servlet.WeldTerminalListener".WeldInstantiator, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".WeldInstantiator, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".WeldInstantiator, service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart.UndertowDeploymentInfoService, JBAS014799: ... and 8 more ] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryRepository.CREATE (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryRepository.START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryRepository.JndiBindingsService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryRepository.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart.UndertowDeploymentInfoService, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".moduleDeploymentRuntimeInformationStart] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryRepository.VIEW."localdomain.localhost.CountryRepository".LOCAL (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryRepository.START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryRepository.WeldInstantiator (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryRepository.START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryRepository.WeldInterceptorBindingsService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryRepository.WeldInstantiator] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryRepository.ejb.non-functional-timerservice (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryRepository.START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryResource.CREATE (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryResource.START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryResource.JndiBindingsService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryResource.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart.UndertowDeploymentInfoService, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".moduleDeploymentRuntimeInformationStart] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryResource.VIEW."localdomain.localhost.CountryResource".LOCAL (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryResource.START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryResource.WeldInterceptorBindingsService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryResource.WeldInstantiator] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryResource.ejb.non-functional-timerservice (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryResource.START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.MyApplication.CREATE (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.MyApplication.START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.MyApplication.JndiBindingsService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.MyApplication.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart.UndertowDeploymentInfoService, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".moduleDeploymentRuntimeInformationStart] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.MyApplication.VIEW."localdomain.localhost.MyApplication".LOCAL (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.MyApplication.START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.MyApplication.WeldInstantiator (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.MyApplication.START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.MyApplication.WeldInterceptorBindingsService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.MyApplication.WeldInstantiator] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.MyApplication.ejb.non-functional-timerservice (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.MyApplication.START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."com.sun.faces.config.ConfigureListener".CREATE (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."com.sun.faces.config.ConfigureListener".START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."com.sun.faces.config.ConfigureListener".JndiBindingsService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."com.sun.faces.config.ConfigureListener".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart.UndertowDeploymentInfoService] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."com.sun.faces.config.ConfigureListener".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."com.sun.faces.config.ConfigureListener".START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."javax.faces.webapp.FacetTag".JndiBindingsService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."javax.faces.webapp.FacetTag".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart.UndertowDeploymentInfoService] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."javax.faces.webapp.FacetTag".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."javax.faces.webapp.FacetTag".START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".JndiBindingsService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart.UndertowDeploymentInfoService, service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".CREATE (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".JndiBindingsService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart.UndertowDeploymentInfoService, service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher".CREATE (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher".START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher".JndiBindingsService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher".START (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart.UndertowDeploymentInfoService, service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher".START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.weld.servlet.WeldInitialListener".CREATE (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.weld.servlet.WeldInitialListener".START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.weld.servlet.WeldInitialListener".JndiBindingsService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.weld.servlet.WeldInitialListener".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart.UndertowDeploymentInfoService] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.weld.servlet.WeldInitialListener".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.weld.servlet.WeldInitialListener".START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.weld.servlet.WeldTerminalListener".CREATE (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.weld.servlet.WeldTerminalListener".START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.weld.servlet.WeldTerminalListener".JndiBindingsService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.weld.servlet.WeldTerminalListener".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart.UndertowDeploymentInfoService] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.weld.servlet.WeldTerminalListener".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.weld.servlet.WeldTerminalListener".START] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".ee.ComponentRegistry (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart.UndertowDeploymentInfoService] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryRepository.START, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".WeldStartService, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component."org.jboss.weld.servlet.WeldTerminalListener".START, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.MyApplication.START, JBAS014799: ... and 2 more ] 
  service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".moduleDeploymentRuntimeInformation (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryRepository.START, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.MyApplication.START, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".moduleDeploymentRuntimeInformationStart, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryResource.START] 
  service jboss.naming.context.java.app.wildfly-restEasy-ejb-clickstart.env (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.naming.context.java.module.wildfly-restEasy-ejb-clickstart.wildfly-restEasy-ejb-clickstart.BeanManager (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.naming.context.java.module.wildfly-restEasy-ejb-clickstart.wildfly-restEasy-ejb-clickstart.DefaultContextService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.naming.context.java.module.wildfly-restEasy-ejb-clickstart.wildfly-restEasy-ejb-clickstart.DefaultDataSource (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.naming.context.java.module.wildfly-restEasy-ejb-clickstart.wildfly-restEasy-ejb-clickstart.DefaultManagedExecutorService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.naming.context.java.module.wildfly-restEasy-ejb-clickstart.wildfly-restEasy-ejb-clickstart.DefaultManagedScheduledExecutorService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.naming.context.java.module.wildfly-restEasy-ejb-clickstart.wildfly-restEasy-ejb-clickstart.DefaultManagedThreadFactory (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.naming.context.java.module.wildfly-restEasy-ejb-clickstart.wildfly-restEasy-ejb-clickstart.EJBContext (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.naming.context.java.module.wildfly-restEasy-ejb-clickstart.wildfly-restEasy-ejb-clickstart.TimerService (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.naming.context.java.module.wildfly-restEasy-ejb-clickstart.wildfly-restEasy-ejb-clickstart.TransactionSynchronizationRegistry (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.naming.context.java.module.wildfly-restEasy-ejb-clickstart.wildfly-restEasy-ejb-clickstart.UserTransaction (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.naming.context.java.module.wildfly-restEasy-ejb-clickstart.wildfly-restEasy-ejb-clickstart.env (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.naming.context.java.module.wildfly-restEasy-ejb-clickstart.wildfly-restEasy-ejb-clickstart.env."localdomain.localhost.CountryRepository".em (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryRepository.START, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService] 
  service jboss.naming.context.java.module.wildfly-restEasy-ejb-clickstart.wildfly-restEasy-ejb-clickstart.env."localdomain.localhost.CountryResource".countryRepository (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".jndiDependencyService, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryResource.START] 
  service jboss.persistenceunit."wildfly-restEasy-ejb-clickstart.war#jpa-pu" (missing) dependents: [service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.CountryRepository.START, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".WeldStartService, service jboss.deployment.unit."wildfly-restEasy-ejb-clickstart.war".component.MyApplication.START, service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart.UndertowDeploymentInfoService] 
  service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart.codec (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./wildfly-restEasy-ejb-clickstart.UndertowDeploymentInfoService] 

网页应用程序:: 8080 / wildfly-restEasy-ejb-clickstart /不工作。 感谢

1 个答案:

答案 0 :(得分:0)

在使用运行按钮在Eclipse中重启wildfly两次后,我遇到了同样的错误消息...我通过管理控制台添加了一个mysql驱动程序(部署)。我相信当你点击在eclipse中运行它然后重写一些默认配置,并使消失文件。在我通过eclipse重新启动后回到管理控制台的情况下,部署部分中的mysql驱动程序已经不再...

如果我找到解决方案,我会回来