>-----Original Message----- >From: Henry Saputra [mailto:henry.sapu...@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 <leon...@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 <rbaxte...@apache.org> wrote: >> >> > Where did you download this from? >> > >> > >> > On Sat, Dec 8, 2012 at 12:56 AM, Leon Wu <leon...@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 >> > > >> > >>