Thanks, the build is successful now. Will continue tomorrow.

On 15 August 2011 19:47, Franklin, Matthew B. <[email protected]> wrote:

> Found it and fixed it.  Should be all set now.
>
>
> >-----Original Message-----
> >From: Jasha Joachimsthal [mailto:[email protected]]
> >Sent: Monday, August 15, 2011 12:38 PM
> >To: [email protected]
> >Subject: Re: Guice-Spring bridge errors
> >
> >Interface:
> >public interface OAuthConsumerStoreRepository extends
> >Repository<OAuthConsumerStore> {
> >}
> >
> >Impl:
> >@Repository
> >public class JpaOAuthConsumerStoreRepository extends
> >AbstractJpaRepository<OAuthConsumerStore>
> >        implements OAuthConsumerStoreRepository {
> >}
> >
> >Jasha
> >
> >
> >On 15 August 2011 18:10, Franklin, Matthew B. <[email protected]>
> wrote:
> >
> >> Does your repository implement Repository<T> directly, or do you have an
> >> interface that extends Repository<T>?
> >> >-----Original Message-----
> >> >From: Jasha Joachimsthal [mailto:[email protected]]
> >> >Sent: Monday, August 15, 2011 10:03 AM
> >> >To: [email protected]
> >> >Subject: Guice-Spring bridge errors
> >> >
> >> >I'm migrating the rave-shindig OAuth storage handling from Guice to
> >> Spring.
> >> >I have 2 @Repository's for the db queries and now I get compilation
> >> errors:
> >> >Any idea how this can be fixed?
> >> >====
> >> >
> >> >Tests in error:
> >> >
> >>
> >>
>
> >>initialize_test(org.apache.rave.inject.GuiceBindingSpringContextLoaderListe
> >n
> >> >erTest):
> >> >Guice creation errors:
> >> >
> >> >1) A binding to org.apache.rave.persistence.Repository was already
> >> >configured at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62).
> >> >  at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62)
> >> >
> >> >2) A binding to org.springframework.aop.SpringProxy was already
> >configured
> >> >at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62).
> >> >  at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62)
> >> >
> >> >3) A binding to org.springframework.aop.framework.Advised was already
> >> >configured at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62).
> >> >  at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62)
> >> >
> >> >3 errors
> >> >  bindsScopedBean(org.apache.rave.inject.SpringBindingModuleTest):
> >Guice
> >> >creation errors:
> >> >
> >> >1) A binding to org.apache.rave.persistence.Repository was already
> >> >configured at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62).
> >> >  at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62)
> >> >
> >> >2) A binding to org.springframework.aop.SpringProxy was already
> >configured
> >> >at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62).
> >> >  at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62)
> >> >
> >> >3) A binding to org.springframework.aop.framework.Advised was already
> >> >configured at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62).
> >> >  at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62)
> >> >
> >> >3 errors
> >> >
> >>
> >>bindsScopedBeanSingleton(org.apache.rave.inject.SpringBindingModuleTes
> >t)
> >> >:
> >> >Guice creation errors:
> >> >
> >> >1) A binding to org.apache.rave.persistence.Repository was already
> >> >configured at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62).
> >> >  at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62)
> >> >
> >> >2) A binding to org.springframework.aop.SpringProxy was already
> >configured
> >> >at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62).
> >> >  at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62)
> >> >
> >> >3) A binding to org.springframework.aop.framework.Advised was already
> >> >configured at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62).
> >> >  at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62)
> >> >
> >> >3 errors
> >> >  bindsProxiedBean(org.apache.rave.inject.SpringBindingModuleTest):
> >Guice
> >> >creation errors:
> >> >
> >> >1) A binding to org.apache.rave.persistence.Repository was already
> >> >configured at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62).
> >> >  at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62)
> >> >
> >> >2) A binding to org.springframework.aop.SpringProxy was already
> >configured
> >> >at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62).
> >> >  at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62)
> >> >
> >> >3) A binding to org.springframework.aop.framework.Advised was already
> >> >configured at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62).
> >> >  at
> >>
> >>org.apache.rave.inject.SpringBindingModule.bindInterfaces(SpringBindingM
> >o
> >> >dule.java:62)
> >> >
> >> >
> >> >Jasha Joachimsthal
> >> >
> >> >Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522
> >4466
> >> >US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll
> >> free)
> >> >
> >> >www.onehippo.com
> >>
>

Reply via email to