首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >无法在WildFly中部署

无法在WildFly中部署
EN

Stack Overflow用户
提问于 2015-01-09 03:21:38
回答 1查看 4.6K关注 0票数 1

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

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

当我使用Eclipse中的"RUN“按钮将相同的应用程序部署到WildFly (wildfly-8.2)时,我得到了以下异常:

代码语言:javascript
运行
复制
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] 

和web-app在::8080/wildfly-restEasy-ejb-clickstart/ dont work。谢谢

EN

回答 1

Stack Overflow用户

发布于 2015-01-27 21:32:40

在Eclipse中使用run按钮重新启动wildfly两次后,我收到了类似的错误消息……我通过管理控制台添加了一个mysql驱动程序(部署)。我相信当你在eclipse中点击run时,它会重写一些默认的配置,并使文件消失。在我的例子中,当我通过eclipse重新启动后返回到管理控制台时,mysql驱动程序不再位于deployments部分...

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27847927

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档