users@glassfish.java.net

[gf-users] Debugging org.glassfish.deployment.common.DeploymentException: CDI deployment failure:WELD-001408 Unsatisfied dependencies Exceptions

From: Andreas Zindel | ABSC GmbH <andreas.zindel_at_absc.de>
Date: Wed, 23 Jul 2014 08:26:55 +0000

Hi there.

Often when I change my code base and the WebApp is automatically redeployed by eclipse I get the following error Message:

014-07-23T10:22:13.379+0200|Info: WELD-000900 2.0.0 (SP1)
2014-07-23T10:22:15.480+0200|Warning: AS-CDI-005
2014-07-23T10:22:17.772+0200|Warning: Class 'javax.ejb.PostActivate' not found, interception based on it is not enabled
2014-07-23T10:22:17.774+0200|Warning: Class 'javax.ejb.PrePassivate' not found, interception based on it is not enabled
2014-07-23T10:22:18.456+0200|Severe: Exception during lifecycle processing
org.glassfish.deployment.common.DeploymentException: CDI deployment failure:WELD-001408 Unsatisfied dependencies for type [Providers] with qualifiers [@Default] at injection point [[BackedAnnotatedParameter] Parameter 1 of [BackedAnnotatedConstructor] @Inject public org.glassfish.jersey.media.multipart.internal.MultiPartReaderServerSide(@Context Providers, Provider<CloseableService>)]
       at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:225)
       at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)
       at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:328)
       at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:493)
       at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
       at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
       at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:527)
       at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:523)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAs(Subject.java:356)
       at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:522)
       at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:546)
       at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1423)
       at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)
       at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1762)
       at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1674)
       at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534)
       at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224)
       at org.glassfish.grizzly.http.server.StaticHttpHandler.service(StaticHttpHandler.java:297)
       at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:246)
       at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)
       at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)
       at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)
       at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
       at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
       at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
       at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
       at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
       at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
       at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
       at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
       at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
       at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
       at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
       at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
       at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
       at java.lang.Thread.run(Thread.java:745)

Any Idea what is causing this? After I stop the server/remove the WebApp/start the sever from scratch the error message is gone.

Greetings.