Are you using a custom guice module? If so, you probably need to add a
binding for the route manager; see

http://svn.apache.org/viewvc?view=rev&revision=661322

On Mon, Jun 2, 2008 at 11:53 AM, Brad Defnall <[EMAIL PROTECTED]> wrote:

> I had shindig running in jboss just fine last week, i know there are some
> URLs to be changed and voila, it worked.  I got back from google io,
> grabbed
> the latest from svn and tried to run in jboss again, but now I get this
> error:
>
> 2008-06-02 14:28:45,180 ERROR
>
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/shindig].[restapiServlet]]
> Allocate exception for servlet restapiServlet
> com.google.inject.ConfigurationException: Error at
>
> org.apache.shindig.social.abdera.SocialRouteManager.<init>(SocialRouteManager.java:32)
> Error while injecting at
>
> org.apache.shindig.social.abdera.SocialApiProvider.setSocialRouteManager(SocialApiProvider.java:35):
> Could not find a suitable constructor in
> org.apache.shindig.social.abdera.SocialRouteManager. Classes must have
> either one (and only one) constructor annotated with @Inject or a
> zero-argument constructor.
>    at
>
> com.google.inject.BinderImpl$RuntimeErrorHandler.handle(BinderImpl.java:426)
>    at com.google.inject.InjectorImpl$3.handle(InjectorImpl.java:294)
>    at
> com.google.inject.AbstractErrorHandler.handle(AbstractErrorHandler.java:30)
>    at
>
> com.google.inject.ConstructorInjector.findConstructorIn(ConstructorInjector.java:105)
>
> This doesn't look, to me, to be a jboss error though.  Does anyone know
> whats going on here? I'm not sure where to go from here.
>
> I also get serious nastiness in jetty, but I'm not sure it's the same
> error.
>

Reply via email to