[jboss-jira] [JBoss JIRA] Created: (AS7-1100) CDI extension for SEAM REST not working

Juergen Zimmermann (JIRA) jira-events at lists.jboss.org
Thu Jun 23 03:53:23 EDT 2011


CDI extension for SEAM REST not working
---------------------------------------

                 Key: AS7-1100
                 URL: https://issues.jboss.org/browse/AS7-1100
             Project: Application Server 7
          Issue Type: Bug
          Components: CDI / Weld
    Affects Versions: 7.0.0.Beta3
            Reporter: Juergen Zimmermann


I'm using Jenkins build 1267. I extended my EAR:
* in lib: seam-solder.jar, seam-rest.jar, seam-catch.jar
* beans.xml in WEB-INF of the web module:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://java.sun.com/xml/ns/javaee"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
              http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
   <interceptors>
      <class>
         org.jboss.seam.rest.validation.ValidationInterceptor
      </class>
   </interceptors>
</beans>

Error message stacktrace:
09:34:23,610 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."swe1.ear".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."swe1.ear".WeldService: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [ClientExecutor] with qualifiers [@Default] at injection point [[parameter 2] of [method] @Produces @RestClient public org.jboss.seam.rest.client.RestClientProducer.produceClientRequest(InjectionPoint, ClientExecutor)]
	at org.jboss.as.weld.services.WeldService.start(WeldService.java:96)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
	at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26]
	at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [ClientExecutor] with qualifiers [@Default] at injection point [[parameter 2] of [method] @Produces @RestClient public org.jboss.seam.rest.client.RestClientProducer.produceClientRequest(InjectionPoint, ClientExecutor)]
	at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:270)
	at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:106)
	at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:129)
	at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:351)
	at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:336)
	at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:396)
	at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:82)
	at org.jboss.as.weld.services.WeldService.start(WeldService.java:89)
	... 5 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list