On 4 Feb 2014, at 17:38, Rama Krishna Gollapudi <[email protected]> wrote:

> Hello,
>           I'm having  a problem of binding an abstract class with it's 
> implementation using Guice . I'm getting the following exception.
> 
> com.rama.util.jaxrs.DomainResource is abstract, not a concrete class.  Unable 
> to create AssistedInject factory.

^ this error message is coming from the AssistedInject extension, could you 
post your complete module or at least the part where you configure your factory?

> And  i did binding like this.  
> bind(DomainResource.class).to(TodoResource.class);
> 
> DomainResoruce is an abstract class and TodoResource is an implementation. 
> 
> Thanks,
> Rama.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "google-guice" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-guice.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to