3 Replies Latest reply on Mar 17, 2011 10:22 AM by Fabricio Lemos

    Seam Rest: Unsatisfied dependencies

    Fabricio Lemos Newbie

      Hello,


      I´m trying to use Seam Rest with RESTEasy Client, but it is giving me the error:


      org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type ClientRequest with qualifiers @RestClient at injection point field @RestClient @Inject private br.example.WsClient.clientRequest



      Here is the code:


      @Named
      @SessionScoped
      public class WsClient implements Serializable {
      
          @Inject
          @RestClient("http://localhost:8080/sisseg-jee-ws/resource/autenticacao")
          private ClientRequest clientRequest;



      Resteasy 2.0.1.GA is on the classpath and I´m using Seam Rest 3.0.0.CR1 with Glassfish v3.1


      thanks in advance