- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试在我的应用程序上构建休息服务,这是 proyect in github
我为 userService 提供休息服务的流程如下。
首先我创建 the interface可以使用我的休息服务进行的操作
然后我将所需的注释添加到用户模型中 User Model Class
之后我实现了 userService UserServiceImpl
我添加到web.xml所需的配置元素
最后我创建了 class Application使 RestEasy 应该使用哪个类。
然后,当我启动服务器时尝试在服务器上运行它时,我有以下堆栈跟踪:
13:22:51,124 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."sdi3-22.ear".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."sdi3-22.ear".WeldStartService: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.0.Final.jar:1.2.0.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71]
Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-000075: Normal scoped managed bean implementation class has a public field: [EnhancedAnnotatedFieldImpl] public org.jboss.resteasy.core.AcceptHeaderByFileSuffixFilter.mediaTypeMappings
at org.jboss.weld.bean.ManagedBean.checkBeanImplementation(ManagedBean.java:218)
at org.jboss.weld.bean.AbstractClassBean.internalInitialize(AbstractClassBean.java:74)
at org.jboss.weld.bean.ManagedBean.internalInitialize(ManagedBean.java:96)
at org.jboss.weld.bean.RIBean.initialize(RIBean.java:65)
at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$5.doWork(ConcurrentBeanDeployer.java:114)
at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$5.doWork(ConcurrentBeanDeployer.java:112)
at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)
at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_71]
... 3 more
13:22:51,141 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "sdi3-22.ear")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"sdi3-22.ear\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"sdi3-22.ear\".WeldStartService: Failed to start service
Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-000075: Normal scoped managed bean implementation class has a public field: [EnhancedAnnotatedFieldImpl] public org.jboss.resteasy.core.AcceptHeaderByFileSuffixFilter.mediaTypeMappings"}}
13:22:51,219 INFO [org.jboss.as.server] (ServerService Thread Pool -- 32) JBAS018559: Deployed "sdi3-22.ear" (runtime-name : "sdi3-22.ear")
13:22:51,220 INFO [org.jboss.as.server] (ServerService Thread Pool -- 32) JBAS018559: Deployed "notaneitor-ds.xml" (runtime-name : "notaneitor-ds.xml")
13:22:51,220 INFO [org.jboss.as.server] (ServerService Thread Pool -- 32) JBAS018559: Deployed "hsqldb.jar" (runtime-name : "hsqldb.jar")
13:22:51,222 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."sdi3-22.ear".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."sdi3-22.ear".WeldStartService: Failed to start service
然后是这个:
JBAS014775: New missing/unsatisfied dependencies:
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbAdminService.CREATE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbAdminService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbAdminService.START (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".moduleDeploymentRuntimeInformationStart, service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Ejb".UndertowDeploymentInfoService, service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Ejb", service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".deploymentCompleteService]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbAdminService.VIEW."com.sdi.business.impl.EjbAdminService".SERVICE_ENDPOINT (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbAdminService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbAdminService.VIEW."com.sdi.business.impl.LocalAdminService".LOCAL (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbAdminService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbAdminService.VIEW."com.sdi.business.impl.RemoteAdminService".REMOTE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbAdminService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbAdminService.WeldInstantiator (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbAdminService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbAdminService.WeldInterceptorBindingsService (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbAdminService.WeldInstantiator]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbAdminService.ejb.non-functional-timerservice (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbAdminService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.CREATE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Ejb".UndertowDeploymentInfoService, service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Ejb", service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".deploymentCompleteService]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.VIEW."com.sdi.business.impl.EjbApplicationService".SERVICE_ENDPOINT (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.VIEW."com.sdi.business.impl.LocalApplicationService".LOCAL (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.VIEW."com.sdi.business.impl.RemoteApplicationService".REMOTE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.WeldInstantiator (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.WeldInterceptorBindingsService (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.WeldInstantiator]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.ejb.non-functional-timerservice (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.CREATE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Ejb", service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".deploymentCompleteService]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.VIEW."com.sdi.business.impl.EjbLoginService".SERVICE_ENDPOINT (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.VIEW."com.sdi.business.impl.LocalLoginService".LOCAL (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.VIEW."com.sdi.business.impl.RemoteLoginService".REMOTE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.WeldInstantiator (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.WeldInterceptorBindingsService (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.WeldInstantiator]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.ejb.non-functional-timerservice (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.CREATE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Ejb", service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".deploymentCompleteService]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.VIEW."com.sdi.business.impl.EjbRatingService".SERVICE_ENDPOINT (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.VIEW."com.sdi.business.impl.LocalRatingService".LOCAL (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.VIEW."com.sdi.business.impl.RemoteRatingService".REMOTE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.WeldInstantiator (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.WeldInterceptorBindingsService (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.WeldInstantiator]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.ejb.non-functional-timerservice (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbSeatService.CREATE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbSeatService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbSeatService.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Ejb".UndertowDeploymentInfoService, service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Ejb", service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".deploymentCompleteService]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbSeatService.VIEW."com.sdi.business.impl.EjbSeatService".SERVICE_ENDPOINT (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbSeatService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbSeatService.VIEW."com.sdi.business.impl.LocalSeatService".LOCAL (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbSeatService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbSeatService.VIEW."com.sdi.business.impl.RemoteSeatService".REMOTE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbSeatService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbSeatService.WeldInstantiator (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbSeatService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbSeatService.WeldInterceptorBindingsService (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbSeatService.WeldInstantiator]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbSeatService.ejb.non-functional-timerservice (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbSeatService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbServicesFactory.CREATE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbServicesFactory.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbServicesFactory.START (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".moduleDeploymentRuntimeInformationStart, service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Ejb".UndertowDeploymentInfoService, service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Ejb", service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".deploymentCompleteService]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbServicesFactory.VIEW."com.sdi.business.ServicesFactory".LOCAL (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbServicesFactory.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbServicesFactory.WeldInstantiator (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbServicesFactory.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbServicesFactory.WeldInterceptorBindingsService (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbServicesFactory.WeldInstantiator]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbServicesFactory.ejb.non-functional-timerservice (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbServicesFactory.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbTripService.CREATE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbTripService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbTripService.START (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".moduleDeploymentRuntimeInformationStart, service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Ejb".UndertowDeploymentInfoService, service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Ejb", service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".deploymentCompleteService]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbTripService.VIEW."com.sdi.business.impl.EjbTripService".SERVICE_ENDPOINT (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbTripService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbTripService.VIEW."com.sdi.business.impl.RemoteTripService".REMOTE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbTripService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbTripService.WeldInstantiator (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbTripService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbTripService.WeldInterceptorBindingsService (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbTripService.WeldInstantiator]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbTripService.ejb.non-functional-timerservice (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbTripService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbUserService.START (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".moduleDeploymentRuntimeInformationStart, service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Ejb".UndertowDeploymentInfoService, service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Ejb", service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".deploymentCompleteService]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbUserService.VIEW."com.sdi.business.impl.RemoteUserService".REMOTE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbUserService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbUserService.WeldInterceptorBindingsService (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbUserService.WeldInstantiator]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbUserService.ejb.non-functional-timerservice (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbUserService.START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".deploymentCompleteService (missing) dependents: [service jboss.deployment.unit."sdi3-22.ear".deploymentCompleteService]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".ee.ComponentRegistry (missing) dependents: [service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Ejb".UndertowDeploymentInfoService]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".jndiDependencyService (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.START, service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.START, service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbUserService.START, service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.START, JBAS014799: ... and 5 more ]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".moduleDeploymentRuntimeInformation (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbLoginService.START, service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".moduleDeploymentRuntimeInformationStart, service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbRatingService.START, service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Ejb.jar".component.EjbApplicationService.START, JBAS014799: ... and 4 more ]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."com.sdi.infrastructure.LoggingInitialization".CREATE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."com.sdi.infrastructure.LoggingInitialization".START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."com.sdi.infrastructure.LoggingInitialization".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Web".UndertowDeploymentInfoService, service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Web", service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".deploymentCompleteService]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."com.sdi.infrastructure.LoggingInitialization".WeldInstantiator (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."com.sdi.infrastructure.LoggingInitialization".START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."com.sdi.presentation.filter.LoginFilter".CREATE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."com.sdi.presentation.filter.LoginFilter".START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."com.sdi.presentation.filter.LoginFilter".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Web".UndertowDeploymentInfoService, service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Web", service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".deploymentCompleteService]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."com.sdi.presentation.filter.LoginFilter".WeldInstantiator (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."com.sdi.presentation.filter.LoginFilter".START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."com.sun.faces.config.ConfigureListener".CREATE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."com.sun.faces.config.ConfigureListener".START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."com.sun.faces.config.ConfigureListener".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Web".UndertowDeploymentInfoService, service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Web", service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".deploymentCompleteService]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."com.sun.faces.config.ConfigureListener".WeldInstantiator (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."com.sun.faces.config.ConfigureListener".START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."javax.faces.webapp.FacesServlet".CREATE (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."javax.faces.webapp.FacesServlet".START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."javax.faces.webapp.FacesServlet".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Web".UndertowDeploymentInfoService, service jboss.undertow.deployment.default-server.default-host."/sdi3-22.Web", service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".deploymentCompleteService]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."javax.faces.webapp.FacesServlet".WeldInstantiator (missing) dependents: [service jboss.deployment.subunit."sdi3-22.ear"."sdi3-22.Web.war".component."javax.faces.webapp.FacesServlet".START]
service jboss.deployment.subunit."sdi3-22.ear"."sdi3-
而且它还在继续。
不知道问题出在哪里。感谢您的帮助
更新:问题是我在项目中拥有的库数量并不需要,正如 @Harald 所说,因为这些库已经在 Wildfly 中。
最佳答案
您的 WAR 或 EAR 中似乎包含一些 RESTEasy 实现类。
您应该只依赖 JAX-RS API,该实现由 WildFly 提供。
关于java - 缺少依赖 Resteasy 和 Wildfly,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37161940/
是否可以为所有意外错误创建全局异常处理程序。 因为不可能像这样制作所有可能的类: public class ExceptionHandler implements ExceptionMapper {.
我正在尝试同时运行 HTTPServer 和 REST 处理程序。一次只能工作一个,不能同时工作。我需要提供 html 页面和 api。 这是我的代码。 public class HttpSe
JBoss 告诉我们 http://docs.jboss.org/seam/3/rest/latest/reference/en-US/html/rest.client.html 要为 RestEAS
我们使用的是 Wildfly 10.1.0 和 Resteasy 3.1.1。在数百 rps 的吞吐量下,即使平均延迟非常低,我们也会看到随机的长请求。 我们正在查看 New Relic 在我们的应用
我有以下代码: var threadsWaiter = new CountDownLatch(customers.size()); for(var c: List customers) { se
考虑以下场景(使用 Rest easy 进行 Rest 实现): 客户端向我的 RestService 发送了请求。 我的休息服务更新了与请求相关的数据库。 最后我的休息服务发送了一些响应。 如果客户
我们在这里运行 RESTEasy 2.3.0.GA,我正在为 https://stackoverflow.com/questions/18219237/jax-rs-path-regex-fails-
我使用 JBoss (AS 7.1)、RestEasy 和 Jackson 开发 REST Api。 Web 服务返回一个“Account”对象,它是一个简单的 POJO,过去在 JSon 中序列化没
我需要使用 RESTEasy 设计 RESTful 服务。客户端可以使用任意数量的查询参数来调用此公共(public)服务。我的 REST 代码应该能够以某种方式读取这些查询参数。例如,如果我有图书搜
我需要创建 rest-easy 客户端,使用其他人创建的 RestService 的 de 接口(interface)...这很好,除了一件事...... 当我从 rest-easy 2.3.5.Fi
我在 resteasy-reactive 项目时收到消息。 (build-70) [io.quarkus.resteasy.common.deployment.ResteasyCommonProces
我写了一个我想测试的 Rest-Service。我想在不运行服务器的情况下运行 JUnit 测试。为此,我使用了 RestEasy 的服务器端模拟框架。 我的问题是,如何使用此框架在 Http-Bod
我正在开发 Resteasy。我将应用程序的 Maven 依赖项从 2.2.x 迁移到 3.0.x,突然间我发现大部分 API 都已弃用。所以这个迁移对我的代码和测试用例有影响,因为它在我的整个代码中
我在使用 RESTEASY 的休息应用程序上需要 CDI 功能。所以我跟着manual's instruction在我的应用程序上设置 resteasy-cdi 模块,它在 JBoss AS7 上运行
我将一个项目从 JBOSS 迁移到 Wildfly Server。我在 standalone.xml 中做了一些更改,一切正常,但是当我从 Postman 发送 JSON 请求时,出现以下异常: ER
我有一个使用restEasy编写的restful服务并部署到JBoss。我有一个 web.xml 被玷污为: Web Application org.restea
我有一个简单的 Hello World 示例 JAX-RS 项目。真的很简单也很愚蠢。只是最小的配置,我打算在未来增强,想象一下这样的事情:https://robferguson.org/blog/2
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be
我编写了一些异常映射器来捕获和处理内置的简单异常,如 NotFoundException、MethodNotAllowedException 等,示例代码如下所示: @Provider public
嗨,我正在尝试使用多部分表单上传多个文件 我使用这个,但我得到错误的请求状态,我如何上传多个文件? public class AttachmentBody { @FormParam("file
我是一名优秀的程序员,十分优秀!