Im thinking it has something todo with private / child injection trickery..

Like the parent AOP are not able to access the child bindings
On 4 Dec 2014 10:22, "nino martinez wael" <[email protected]>
wrote:

> Why am I getting binding errors when doing AOP?
>
> Initially my bindings were in a private module.. The architecture
> consist of this:
>
> Parent-Injector
> |---AOP Module
> |---Child Injector (initially private)
> |-----|-Module with AOP annotation
>
>
>
> Last cause: Guice configuration errors:
>
> 1) Unable to create binding for
> com.netdesign.dao.cisco.v7.uccx.CiscoStatisticsMapper. It was already
> configured on one or more child injectors or private modules
>     bound at
> org.mybatis.guice.AbstractMyBatisModule.bindMapper(AbstractMyBatisModule.java:80)
>   If it was in a PrivateModule, did you forget to expose the binding?
>   while locating com.netdesign.dao.cisco.v7.uccx.CiscoStatisticsMapper
>     for field at
>
> com.netdesign.dao.cisco.v7.uccx.CiscoWallBoardDataProvider.ciscoStatisticsMapper(CiscoWallBoardDataProvider.java:862)
>   while locating
>
> com.netdesign.dao.cisco.v7.uccx.CiscoUCCX7WallBoardDataProvider$$EnhancerByGuice$$fa857977
>
>
> If if do not install everything runs fine. Of course the AOP are not run..
>
> What could be wrong?
>
> --
>
> Best regards / Med venlig hilsen
> Nino Martinez
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/CAAHmKFzJZKUO%2BDs3Kws%2B2%2Bnq-e_v9gTY4fgD_PD1tkBHaxMnYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to