You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Leon Wu <le...@gmail.com> on 2012/12/08 06:56:21 UTC

Guice Creation errors

I downloaded Shindig Spring Example and imported it to Eclipse. But I got
an error when I started Tomcat. Can you please help this out?

Here is the error.

SEVERE: Exception sending context initialized event to listener instance of
class org.apache.shindig.common.servlet.GuiceServletContextListener

com.google.inject.CreationException: Guice creation errors:


1) No implementation for
org.apache.shindig.social.opensocial.oauth.OAuthDataStore was bound.

  while locating org.apache.shindig.social.opensocial.oauth.OAuthDataStore

    for parameter 0 at
org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler.<init>(
OAuthAuthenticationHandler.java:60)

  while locating
org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler

    for parameter 1 at
org.apache.shindig.social.core.oauth.AuthenticationHandlerProvider.<init>(
AuthenticationHandlerProvider.java:39)

  at org.apache.shindig.social.core.config.SocialApiGuiceModule.configure(
SocialApiGuiceModule.java:73)


1 error

at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(
Errors.java:354)

at com.google.inject.InjectorBuilder.initializeStatically(
InjectorBuilder.java:152)

at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105)

at com.google.inject.Guice.createInjector(Guice.java:92)

at
org.apache.shindig.common.servlet.GuiceServletContextListener.contextInitialized(
GuiceServletContextListener.java:73)

at org.apache.catalina.core.StandardContext.listenerStart(
StandardContext.java:4791)

at org.apache.catalina.core.StandardContext.startInternal(
StandardContext.java:5285)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase$StartChild.call(
ContainerBase.java:1559)

at org.apache.catalina.core.ContainerBase$StartChild.call(
ContainerBase.java:1549)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
ThreadPoolExecutor.java:886)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:680)

Dec 8, 2012 12:53:22 AM

Re: Guice Creation errors

Posted by Ryan Baxter <rb...@apache.org>.
Sorry I can't be much help.  I have never used it before and as Henry said
it hasn't been updated or aligned with latest releases.


On Mon, Dec 24, 2012 at 11:17 PM, Leon Wu <le...@gmail.com> wrote:

> Hi Ryan,
>
> Sorry for the delay.
> Yes, I'm looking for the example or documents of integration Spring +
> Shindig or Shindig with my app.
> I'd appreciate it if you could help me.
>
> Thanks
>
> Leon
>
> On Thu, Dec 13, 2012 at 7:10 AM, Ryan Baxter <rb...@apache.org> wrote:
>
> > Leon are you looking for instructions to get started with spring +
> shindig
> > or just shindig in general?
> >
> > On Tuesday, December 11, 2012, Franklin, Matthew B. wrote:
> >
> > > >-----Original Message-----
> > > >From: Henry Saputra [mailto:henry.saputra@gmail.com <javascript:;>]
> > > >Sent: Monday, December 10, 2012 1:45 AM
> > > >To: dev@shindig.apache.org <javascript:;>
> > > >Subject: Re: Guice Creation errors
> > > >
> > > >Looks like this project has not been aligned nor updated for a while.
> > >
> > > I didn't even realize it existed.  If you are curious as to how Spring
> > can
> > > be integrated, you can see what we did in Rave:
> > >
> > >
> > >
> >
> http://svn.apache.org/repos/asf/rave/trunk/rave-providers/rave-opensocial-provider/rave-opensocial-core/src/main/java/org/apache/rave/inject/
> > >
> > > >
> > > >I would recommend to use the formal release artifacts or directly from
> > > >trunk.
> > > >
> > > >Or would love to have contributions to align this to latest trunk and
> > > bring
> > > >the sandbox to trunk.
> > > >
> > > >Thanks,
> > > >
> > > >Henry
> > > >
> > > >
> > > >On Sat, Dec 8, 2012 at 6:42 PM, Leon Wu <le...@gmail.com> wrote:
> > > >
> > > >> Here is the link of svn.
> > > >>
> > > >>
> > > >>
> > https://svn.apache.org/repos/asf/shindig/sandbox/trunk/shindig-spring-
> > > >example/
> > > >>
> > > >>
> > > >>
> > > >> On Sat, Dec 8, 2012 at 1:51 PM, Ryan Baxter <rb...@apache.org>
> > > wrote:
> > > >>
> > > >> > Where did you download this from?
> > > >> >
> > > >> >
> > > >> > On Sat, Dec 8, 2012 at 12:56 AM, Leon Wu <le...@gmail.com>
> wrote:
> > > >> >
> > > >> > > I downloaded Shindig Spring Example and imported it to Eclipse.
> > But
> > > I
> > > >> got
> > > >> > > an error when I started Tomcat. Can you please help this out?
> > > >> > >
> > > >> > > Here is the error.
> > > >> > >
> > > >> > > SEVERE: Exception sending context initialized event to listener
> > > >> instance
> > > >> > of
> > > >> > > class
> > org.apache.shindig.common.servlet.GuiceServletContextListener
> > > >> > >
> > > >> > > com.google.inject.CreationException: Guice creation errors:
> > > >> > >
> > > >> > >
> > > >> > > 1) No implementation for
> > > >> > > org.apache.shindig.social.opensocial.oauth.OAuthDataStore was
> > bound.
> > > >> > >
> > > >> > >   while locating
> > > >> > org.apache.shindig.social.opensocial.oauth.OAuthDataStore
> > > >> > >
> > > >> > >     for parameter 0 at
> > > >> > >
> > >
> >org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler.<init>(
> > > >> > > OAuthAuthenticationHandler.java:60)
> > > >> > >
> > > >> > >   while locating
> > > >> > > org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler
> > > >> > >
> > > >> > >     for parameter 1 at
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> org.apache.shindig.social.core.oauth.AuthenticationHandlerProvider.<init>(
> > > >> > > AuthenticationHandlerProvider.java:39)
> > > >> > >
> > > >> > >   at
> > > >> >
> > org.apache.shindig.social.core.config.SocialApiGuiceModule.configure(
> > > >> > > SocialApiGuiceModule.java:73)
> > > >> > >
> > > >> > >
> > > >> > > 1 error
> > > >> > >
> > > >> > > at
> > > >>
> com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(
> > > >> > > Errors.java:354)
> > > >> > >
> > > >> > > at com.google.inject.InjectorBuilder.initializeStatically(
> > > >> > > InjectorBuilder.java:152)
> > > >> > >
> > > >> > > at
> > com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105)
> > > >> > >
> > > >> > > at com.google.inject.Guice.createInjector(Guice.java:92)
> > > >> > >
> > > >> > > at
> > > >> > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> >org.apache.shindig.common.servlet.GuiceServletContextListener.contextIniti
> > > >alized(
> > > >> > > GuiceServletContextListener.java:73)
> > > >> > >
> > > >> > > at org.apache.catalina.core.StandardContext.listenerStart(
> > > >> > > StandardContext.java:4791)
> > > >> > >
> > > >> > > at org.apache.catalina.core.StandardContext.startInternal(
> > > >> > > StandardContext.java:5285)
> > > >> > >
> > > >> > > at
> > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > > >> > >
> > > >> > > at org.apache.catalina.core.ContainerBase$StartChild.call(
> > > >> > > ContainerBase.java:1559)
> > > >> > >
> > > >> > > at org.apache.catalina.core.ContainerBase$StartChild.call(
> > >
> >
>

Re: Guice Creation errors

Posted by Leon Wu <le...@gmail.com>.
Hi Ryan,

Sorry for the delay.
Yes, I'm looking for the example or documents of integration Spring +
Shindig or Shindig with my app.
I'd appreciate it if you could help me.

Thanks

Leon

On Thu, Dec 13, 2012 at 7:10 AM, Ryan Baxter <rb...@apache.org> wrote:

> Leon are you looking for instructions to get started with spring + shindig
> or just shindig in general?
>
> On Tuesday, December 11, 2012, Franklin, Matthew B. wrote:
>
> > >-----Original Message-----
> > >From: Henry Saputra [mailto:henry.saputra@gmail.com <javascript:;>]
> > >Sent: Monday, December 10, 2012 1:45 AM
> > >To: dev@shindig.apache.org <javascript:;>
> > >Subject: Re: Guice Creation errors
> > >
> > >Looks like this project has not been aligned nor updated for a while.
> >
> > I didn't even realize it existed.  If you are curious as to how Spring
> can
> > be integrated, you can see what we did in Rave:
> >
> >
> >
> http://svn.apache.org/repos/asf/rave/trunk/rave-providers/rave-opensocial-provider/rave-opensocial-core/src/main/java/org/apache/rave/inject/
> >
> > >
> > >I would recommend to use the formal release artifacts or directly from
> > >trunk.
> > >
> > >Or would love to have contributions to align this to latest trunk and
> > bring
> > >the sandbox to trunk.
> > >
> > >Thanks,
> > >
> > >Henry
> > >
> > >
> > >On Sat, Dec 8, 2012 at 6:42 PM, Leon Wu <le...@gmail.com> wrote:
> > >
> > >> Here is the link of svn.
> > >>
> > >>
> > >>
> https://svn.apache.org/repos/asf/shindig/sandbox/trunk/shindig-spring-
> > >example/
> > >>
> > >>
> > >>
> > >> On Sat, Dec 8, 2012 at 1:51 PM, Ryan Baxter <rb...@apache.org>
> > wrote:
> > >>
> > >> > Where did you download this from?
> > >> >
> > >> >
> > >> > On Sat, Dec 8, 2012 at 12:56 AM, Leon Wu <le...@gmail.com> wrote:
> > >> >
> > >> > > I downloaded Shindig Spring Example and imported it to Eclipse.
> But
> > I
> > >> got
> > >> > > an error when I started Tomcat. Can you please help this out?
> > >> > >
> > >> > > Here is the error.
> > >> > >
> > >> > > SEVERE: Exception sending context initialized event to listener
> > >> instance
> > >> > of
> > >> > > class
> org.apache.shindig.common.servlet.GuiceServletContextListener
> > >> > >
> > >> > > com.google.inject.CreationException: Guice creation errors:
> > >> > >
> > >> > >
> > >> > > 1) No implementation for
> > >> > > org.apache.shindig.social.opensocial.oauth.OAuthDataStore was
> bound.
> > >> > >
> > >> > >   while locating
> > >> > org.apache.shindig.social.opensocial.oauth.OAuthDataStore
> > >> > >
> > >> > >     for parameter 0 at
> > >> > >
> > >org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler.<init>(
> > >> > > OAuthAuthenticationHandler.java:60)
> > >> > >
> > >> > >   while locating
> > >> > > org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler
> > >> > >
> > >> > >     for parameter 1 at
> > >> > >
> > >> >
> > >>
> >
> org.apache.shindig.social.core.oauth.AuthenticationHandlerProvider.<init>(
> > >> > > AuthenticationHandlerProvider.java:39)
> > >> > >
> > >> > >   at
> > >> >
> org.apache.shindig.social.core.config.SocialApiGuiceModule.configure(
> > >> > > SocialApiGuiceModule.java:73)
> > >> > >
> > >> > >
> > >> > > 1 error
> > >> > >
> > >> > > at
> > >> com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(
> > >> > > Errors.java:354)
> > >> > >
> > >> > > at com.google.inject.InjectorBuilder.initializeStatically(
> > >> > > InjectorBuilder.java:152)
> > >> > >
> > >> > > at
> com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105)
> > >> > >
> > >> > > at com.google.inject.Guice.createInjector(Guice.java:92)
> > >> > >
> > >> > > at
> > >> > >
> > >> > >
> > >> >
> > >>
> >
> >org.apache.shindig.common.servlet.GuiceServletContextListener.contextIniti
> > >alized(
> > >> > > GuiceServletContextListener.java:73)
> > >> > >
> > >> > > at org.apache.catalina.core.StandardContext.listenerStart(
> > >> > > StandardContext.java:4791)
> > >> > >
> > >> > > at org.apache.catalina.core.StandardContext.startInternal(
> > >> > > StandardContext.java:5285)
> > >> > >
> > >> > > at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > >> > >
> > >> > > at org.apache.catalina.core.ContainerBase$StartChild.call(
> > >> > > ContainerBase.java:1559)
> > >> > >
> > >> > > at org.apache.catalina.core.ContainerBase$StartChild.call(
> >
>

Re: Guice Creation errors

Posted by Ryan Baxter <rb...@apache.org>.
Leon are you looking for instructions to get started with spring + shindig
or just shindig in general?

On Tuesday, December 11, 2012, Franklin, Matthew B. wrote:

> >-----Original Message-----
> >From: Henry Saputra [mailto:henry.saputra@gmail.com <javascript:;>]
> >Sent: Monday, December 10, 2012 1:45 AM
> >To: dev@shindig.apache.org <javascript:;>
> >Subject: Re: Guice Creation errors
> >
> >Looks like this project has not been aligned nor updated for a while.
>
> I didn't even realize it existed.  If you are curious as to how Spring can
> be integrated, you can see what we did in Rave:
>
>
> http://svn.apache.org/repos/asf/rave/trunk/rave-providers/rave-opensocial-provider/rave-opensocial-core/src/main/java/org/apache/rave/inject/
>
> >
> >I would recommend to use the formal release artifacts or directly from
> >trunk.
> >
> >Or would love to have contributions to align this to latest trunk and
> bring
> >the sandbox to trunk.
> >
> >Thanks,
> >
> >Henry
> >
> >
> >On Sat, Dec 8, 2012 at 6:42 PM, Leon Wu <le...@gmail.com> wrote:
> >
> >> Here is the link of svn.
> >>
> >>
> >> https://svn.apache.org/repos/asf/shindig/sandbox/trunk/shindig-spring-
> >example/
> >>
> >>
> >>
> >> On Sat, Dec 8, 2012 at 1:51 PM, Ryan Baxter <rb...@apache.org>
> wrote:
> >>
> >> > Where did you download this from?
> >> >
> >> >
> >> > On Sat, Dec 8, 2012 at 12:56 AM, Leon Wu <le...@gmail.com> wrote:
> >> >
> >> > > I downloaded Shindig Spring Example and imported it to Eclipse. But
> I
> >> got
> >> > > an error when I started Tomcat. Can you please help this out?
> >> > >
> >> > > Here is the error.
> >> > >
> >> > > SEVERE: Exception sending context initialized event to listener
> >> instance
> >> > of
> >> > > class org.apache.shindig.common.servlet.GuiceServletContextListener
> >> > >
> >> > > com.google.inject.CreationException: Guice creation errors:
> >> > >
> >> > >
> >> > > 1) No implementation for
> >> > > org.apache.shindig.social.opensocial.oauth.OAuthDataStore was bound.
> >> > >
> >> > >   while locating
> >> > org.apache.shindig.social.opensocial.oauth.OAuthDataStore
> >> > >
> >> > >     for parameter 0 at
> >> > >
> >org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler.<init>(
> >> > > OAuthAuthenticationHandler.java:60)
> >> > >
> >> > >   while locating
> >> > > org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler
> >> > >
> >> > >     for parameter 1 at
> >> > >
> >> >
> >>
> org.apache.shindig.social.core.oauth.AuthenticationHandlerProvider.<init>(
> >> > > AuthenticationHandlerProvider.java:39)
> >> > >
> >> > >   at
> >> > org.apache.shindig.social.core.config.SocialApiGuiceModule.configure(
> >> > > SocialApiGuiceModule.java:73)
> >> > >
> >> > >
> >> > > 1 error
> >> > >
> >> > > at
> >> com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(
> >> > > Errors.java:354)
> >> > >
> >> > > at com.google.inject.InjectorBuilder.initializeStatically(
> >> > > InjectorBuilder.java:152)
> >> > >
> >> > > at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105)
> >> > >
> >> > > at com.google.inject.Guice.createInjector(Guice.java:92)
> >> > >
> >> > > at
> >> > >
> >> > >
> >> >
> >>
> >org.apache.shindig.common.servlet.GuiceServletContextListener.contextIniti
> >alized(
> >> > > GuiceServletContextListener.java:73)
> >> > >
> >> > > at org.apache.catalina.core.StandardContext.listenerStart(
> >> > > StandardContext.java:4791)
> >> > >
> >> > > at org.apache.catalina.core.StandardContext.startInternal(
> >> > > StandardContext.java:5285)
> >> > >
> >> > > at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> >> > >
> >> > > at org.apache.catalina.core.ContainerBase$StartChild.call(
> >> > > ContainerBase.java:1559)
> >> > >
> >> > > at org.apache.catalina.core.ContainerBase$StartChild.call(
>

RE: Guice Creation errors

Posted by "Franklin, Matthew B." <mf...@mitre.org>.
>-----Original Message-----
>From: Henry Saputra [mailto:henry.saputra@gmail.com]
>Sent: Monday, December 10, 2012 1:45 AM
>To: dev@shindig.apache.org
>Subject: Re: Guice Creation errors
>
>Looks like this project has not been aligned nor updated for a while.

I didn't even realize it existed.  If you are curious as to how Spring can be integrated, you can see what we did in Rave:

http://svn.apache.org/repos/asf/rave/trunk/rave-providers/rave-opensocial-provider/rave-opensocial-core/src/main/java/org/apache/rave/inject/

>
>I would recommend to use the formal release artifacts or directly from
>trunk.
>
>Or would love to have contributions to align this to latest trunk and bring
>the sandbox to trunk.
>
>Thanks,
>
>Henry
>
>
>On Sat, Dec 8, 2012 at 6:42 PM, Leon Wu <le...@gmail.com> wrote:
>
>> Here is the link of svn.
>>
>>
>> https://svn.apache.org/repos/asf/shindig/sandbox/trunk/shindig-spring-
>example/
>>
>>
>>
>> On Sat, Dec 8, 2012 at 1:51 PM, Ryan Baxter <rb...@apache.org> wrote:
>>
>> > Where did you download this from?
>> >
>> >
>> > On Sat, Dec 8, 2012 at 12:56 AM, Leon Wu <le...@gmail.com> wrote:
>> >
>> > > I downloaded Shindig Spring Example and imported it to Eclipse. But I
>> got
>> > > an error when I started Tomcat. Can you please help this out?
>> > >
>> > > Here is the error.
>> > >
>> > > SEVERE: Exception sending context initialized event to listener
>> instance
>> > of
>> > > class org.apache.shindig.common.servlet.GuiceServletContextListener
>> > >
>> > > com.google.inject.CreationException: Guice creation errors:
>> > >
>> > >
>> > > 1) No implementation for
>> > > org.apache.shindig.social.opensocial.oauth.OAuthDataStore was bound.
>> > >
>> > >   while locating
>> > org.apache.shindig.social.opensocial.oauth.OAuthDataStore
>> > >
>> > >     for parameter 0 at
>> > >
>org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler.<init>(
>> > > OAuthAuthenticationHandler.java:60)
>> > >
>> > >   while locating
>> > > org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler
>> > >
>> > >     for parameter 1 at
>> > >
>> >
>> org.apache.shindig.social.core.oauth.AuthenticationHandlerProvider.<init>(
>> > > AuthenticationHandlerProvider.java:39)
>> > >
>> > >   at
>> > org.apache.shindig.social.core.config.SocialApiGuiceModule.configure(
>> > > SocialApiGuiceModule.java:73)
>> > >
>> > >
>> > > 1 error
>> > >
>> > > at
>> com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(
>> > > Errors.java:354)
>> > >
>> > > at com.google.inject.InjectorBuilder.initializeStatically(
>> > > InjectorBuilder.java:152)
>> > >
>> > > at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105)
>> > >
>> > > at com.google.inject.Guice.createInjector(Guice.java:92)
>> > >
>> > > at
>> > >
>> > >
>> >
>>
>org.apache.shindig.common.servlet.GuiceServletContextListener.contextIniti
>alized(
>> > > GuiceServletContextListener.java:73)
>> > >
>> > > at org.apache.catalina.core.StandardContext.listenerStart(
>> > > StandardContext.java:4791)
>> > >
>> > > at org.apache.catalina.core.StandardContext.startInternal(
>> > > StandardContext.java:5285)
>> > >
>> > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>> > >
>> > > at org.apache.catalina.core.ContainerBase$StartChild.call(
>> > > ContainerBase.java:1559)
>> > >
>> > > at org.apache.catalina.core.ContainerBase$StartChild.call(
>> > > ContainerBase.java:1549)
>> > >
>> > > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>> > >
>> > > at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>> > >
>> > > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>> > > ThreadPoolExecutor.java:886)
>> > >
>> > > at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>> > > ThreadPoolExecutor.java:908)
>> > >
>> > > at java.lang.Thread.run(Thread.java:680)
>> > >
>> > > Dec 8, 2012 12:53:22 AM
>> > >
>> >
>>

Re: Guice Creation errors

Posted by Leon Wu <le...@gmail.com>.
Yes, I love to. But I don't know what I can do for it because I am new to
Shindig. That's why I was going to run some customized sample. Where can I
find some instructions to get it started?

Thanks,

Tim

On Mon, Dec 10, 2012 at 1:45 AM, Henry Saputra <he...@gmail.com>wrote:

> Looks like this project has not been aligned nor updated for a while.
>
> I would recommend to use the formal release artifacts or directly from
> trunk.
>
> Or would love to have contributions to align this to latest trunk and bring
> the sandbox to trunk.
>
> Thanks,
>
> Henry
>
>
> On Sat, Dec 8, 2012 at 6:42 PM, Leon Wu <le...@gmail.com> wrote:
>
> > Here is the link of svn.
> >
> >
> >
> https://svn.apache.org/repos/asf/shindig/sandbox/trunk/shindig-spring-example/
> >
> >
> >
> > On Sat, Dec 8, 2012 at 1:51 PM, Ryan Baxter <rb...@apache.org>
> wrote:
> >
> > > Where did you download this from?
> > >
> > >
> > > On Sat, Dec 8, 2012 at 12:56 AM, Leon Wu <le...@gmail.com> wrote:
> > >
> > > > I downloaded Shindig Spring Example and imported it to Eclipse. But I
> > got
> > > > an error when I started Tomcat. Can you please help this out?
> > > >
> > > > Here is the error.
> > > >
> > > > SEVERE: Exception sending context initialized event to listener
> > instance
> > > of
> > > > class org.apache.shindig.common.servlet.GuiceServletContextListener
> > > >
> > > > com.google.inject.CreationException: Guice creation errors:
> > > >
> > > >
> > > > 1) No implementation for
> > > > org.apache.shindig.social.opensocial.oauth.OAuthDataStore was bound.
> > > >
> > > >   while locating
> > > org.apache.shindig.social.opensocial.oauth.OAuthDataStore
> > > >
> > > >     for parameter 0 at
> > > >
> org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler.<init>(
> > > > OAuthAuthenticationHandler.java:60)
> > > >
> > > >   while locating
> > > > org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler
> > > >
> > > >     for parameter 1 at
> > > >
> > >
> >
> org.apache.shindig.social.core.oauth.AuthenticationHandlerProvider.<init>(
> > > > AuthenticationHandlerProvider.java:39)
> > > >
> > > >   at
> > > org.apache.shindig.social.core.config.SocialApiGuiceModule.configure(
> > > > SocialApiGuiceModule.java:73)
> > > >
> > > >
> > > > 1 error
> > > >
> > > > at
> > com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(
> > > > Errors.java:354)
> > > >
> > > > at com.google.inject.InjectorBuilder.initializeStatically(
> > > > InjectorBuilder.java:152)
> > > >
> > > > at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105)
> > > >
> > > > at com.google.inject.Guice.createInjector(Guice.java:92)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.shindig.common.servlet.GuiceServletContextListener.contextInitialized(
> > > > GuiceServletContextListener.java:73)
> > > >
> > > > at org.apache.catalina.core.StandardContext.listenerStart(
> > > > StandardContext.java:4791)
> > > >
> > > > at org.apache.catalina.core.StandardContext.startInternal(
> > > > StandardContext.java:5285)
> > > >
> > > > at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > > >
> > > > at org.apache.catalina.core.ContainerBase$StartChild.call(
> > > > ContainerBase.java:1559)
> > > >
> > > > at org.apache.catalina.core.ContainerBase$StartChild.call(
> > > > ContainerBase.java:1549)
> > > >
> > > > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> > > >
> > > > at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> > > >
> > > > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> > > > ThreadPoolExecutor.java:886)
> > > >
> > > > at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> > > > ThreadPoolExecutor.java:908)
> > > >
> > > > at java.lang.Thread.run(Thread.java:680)
> > > >
> > > > Dec 8, 2012 12:53:22 AM
> > > >
> > >
> >
>

Re: Guice Creation errors

Posted by Henry Saputra <he...@gmail.com>.
Looks like this project has not been aligned nor updated for a while.

I would recommend to use the formal release artifacts or directly from
trunk.

Or would love to have contributions to align this to latest trunk and bring
the sandbox to trunk.

Thanks,

Henry


On Sat, Dec 8, 2012 at 6:42 PM, Leon Wu <le...@gmail.com> wrote:

> Here is the link of svn.
>
>
> https://svn.apache.org/repos/asf/shindig/sandbox/trunk/shindig-spring-example/
>
>
>
> On Sat, Dec 8, 2012 at 1:51 PM, Ryan Baxter <rb...@apache.org> wrote:
>
> > Where did you download this from?
> >
> >
> > On Sat, Dec 8, 2012 at 12:56 AM, Leon Wu <le...@gmail.com> wrote:
> >
> > > I downloaded Shindig Spring Example and imported it to Eclipse. But I
> got
> > > an error when I started Tomcat. Can you please help this out?
> > >
> > > Here is the error.
> > >
> > > SEVERE: Exception sending context initialized event to listener
> instance
> > of
> > > class org.apache.shindig.common.servlet.GuiceServletContextListener
> > >
> > > com.google.inject.CreationException: Guice creation errors:
> > >
> > >
> > > 1) No implementation for
> > > org.apache.shindig.social.opensocial.oauth.OAuthDataStore was bound.
> > >
> > >   while locating
> > org.apache.shindig.social.opensocial.oauth.OAuthDataStore
> > >
> > >     for parameter 0 at
> > > org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler.<init>(
> > > OAuthAuthenticationHandler.java:60)
> > >
> > >   while locating
> > > org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler
> > >
> > >     for parameter 1 at
> > >
> >
> org.apache.shindig.social.core.oauth.AuthenticationHandlerProvider.<init>(
> > > AuthenticationHandlerProvider.java:39)
> > >
> > >   at
> > org.apache.shindig.social.core.config.SocialApiGuiceModule.configure(
> > > SocialApiGuiceModule.java:73)
> > >
> > >
> > > 1 error
> > >
> > > at
> com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(
> > > Errors.java:354)
> > >
> > > at com.google.inject.InjectorBuilder.initializeStatically(
> > > InjectorBuilder.java:152)
> > >
> > > at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105)
> > >
> > > at com.google.inject.Guice.createInjector(Guice.java:92)
> > >
> > > at
> > >
> > >
> >
> org.apache.shindig.common.servlet.GuiceServletContextListener.contextInitialized(
> > > GuiceServletContextListener.java:73)
> > >
> > > at org.apache.catalina.core.StandardContext.listenerStart(
> > > StandardContext.java:4791)
> > >
> > > at org.apache.catalina.core.StandardContext.startInternal(
> > > StandardContext.java:5285)
> > >
> > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > >
> > > at org.apache.catalina.core.ContainerBase$StartChild.call(
> > > ContainerBase.java:1559)
> > >
> > > at org.apache.catalina.core.ContainerBase$StartChild.call(
> > > ContainerBase.java:1549)
> > >
> > > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> > >
> > > at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> > >
> > > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> > > ThreadPoolExecutor.java:886)
> > >
> > > at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> > > ThreadPoolExecutor.java:908)
> > >
> > > at java.lang.Thread.run(Thread.java:680)
> > >
> > > Dec 8, 2012 12:53:22 AM
> > >
> >
>

Re: Guice Creation errors

Posted by Leon Wu <le...@gmail.com>.
Here is the link of svn.

https://svn.apache.org/repos/asf/shindig/sandbox/trunk/shindig-spring-example/



On Sat, Dec 8, 2012 at 1:51 PM, Ryan Baxter <rb...@apache.org> wrote:

> Where did you download this from?
>
>
> On Sat, Dec 8, 2012 at 12:56 AM, Leon Wu <le...@gmail.com> wrote:
>
> > I downloaded Shindig Spring Example and imported it to Eclipse. But I got
> > an error when I started Tomcat. Can you please help this out?
> >
> > Here is the error.
> >
> > SEVERE: Exception sending context initialized event to listener instance
> of
> > class org.apache.shindig.common.servlet.GuiceServletContextListener
> >
> > com.google.inject.CreationException: Guice creation errors:
> >
> >
> > 1) No implementation for
> > org.apache.shindig.social.opensocial.oauth.OAuthDataStore was bound.
> >
> >   while locating
> org.apache.shindig.social.opensocial.oauth.OAuthDataStore
> >
> >     for parameter 0 at
> > org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler.<init>(
> > OAuthAuthenticationHandler.java:60)
> >
> >   while locating
> > org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler
> >
> >     for parameter 1 at
> >
> org.apache.shindig.social.core.oauth.AuthenticationHandlerProvider.<init>(
> > AuthenticationHandlerProvider.java:39)
> >
> >   at
> org.apache.shindig.social.core.config.SocialApiGuiceModule.configure(
> > SocialApiGuiceModule.java:73)
> >
> >
> > 1 error
> >
> > at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(
> > Errors.java:354)
> >
> > at com.google.inject.InjectorBuilder.initializeStatically(
> > InjectorBuilder.java:152)
> >
> > at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105)
> >
> > at com.google.inject.Guice.createInjector(Guice.java:92)
> >
> > at
> >
> >
> org.apache.shindig.common.servlet.GuiceServletContextListener.contextInitialized(
> > GuiceServletContextListener.java:73)
> >
> > at org.apache.catalina.core.StandardContext.listenerStart(
> > StandardContext.java:4791)
> >
> > at org.apache.catalina.core.StandardContext.startInternal(
> > StandardContext.java:5285)
> >
> > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> >
> > at org.apache.catalina.core.ContainerBase$StartChild.call(
> > ContainerBase.java:1559)
> >
> > at org.apache.catalina.core.ContainerBase$StartChild.call(
> > ContainerBase.java:1549)
> >
> > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> >
> > at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> >
> > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> > ThreadPoolExecutor.java:886)
> >
> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> > ThreadPoolExecutor.java:908)
> >
> > at java.lang.Thread.run(Thread.java:680)
> >
> > Dec 8, 2012 12:53:22 AM
> >
>

Re: Guice Creation errors

Posted by Ryan Baxter <rb...@apache.org>.
Where did you download this from?


On Sat, Dec 8, 2012 at 12:56 AM, Leon Wu <le...@gmail.com> wrote:

> I downloaded Shindig Spring Example and imported it to Eclipse. But I got
> an error when I started Tomcat. Can you please help this out?
>
> Here is the error.
>
> SEVERE: Exception sending context initialized event to listener instance of
> class org.apache.shindig.common.servlet.GuiceServletContextListener
>
> com.google.inject.CreationException: Guice creation errors:
>
>
> 1) No implementation for
> org.apache.shindig.social.opensocial.oauth.OAuthDataStore was bound.
>
>   while locating org.apache.shindig.social.opensocial.oauth.OAuthDataStore
>
>     for parameter 0 at
> org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler.<init>(
> OAuthAuthenticationHandler.java:60)
>
>   while locating
> org.apache.shindig.social.core.oauth.OAuthAuthenticationHandler
>
>     for parameter 1 at
> org.apache.shindig.social.core.oauth.AuthenticationHandlerProvider.<init>(
> AuthenticationHandlerProvider.java:39)
>
>   at org.apache.shindig.social.core.config.SocialApiGuiceModule.configure(
> SocialApiGuiceModule.java:73)
>
>
> 1 error
>
> at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(
> Errors.java:354)
>
> at com.google.inject.InjectorBuilder.initializeStatically(
> InjectorBuilder.java:152)
>
> at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105)
>
> at com.google.inject.Guice.createInjector(Guice.java:92)
>
> at
>
> org.apache.shindig.common.servlet.GuiceServletContextListener.contextInitialized(
> GuiceServletContextListener.java:73)
>
> at org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:4791)
>
> at org.apache.catalina.core.StandardContext.startInternal(
> StandardContext.java:5285)
>
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>
> at org.apache.catalina.core.ContainerBase$StartChild.call(
> ContainerBase.java:1559)
>
> at org.apache.catalina.core.ContainerBase$StartChild.call(
> ContainerBase.java:1549)
>
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> ThreadPoolExecutor.java:886)
>
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:908)
>
> at java.lang.Thread.run(Thread.java:680)
>
> Dec 8, 2012 12:53:22 AM
>