For posterity: I found the tips on this site particularly useful to help trace down the culprit JAR using a servlet listener: http://sajidmoinuddin.wordpress.com/2010/07/31/troubleshooting-tomcat-deployment-problem-for-jaxws-2-2-application-the-sherlock-holmes-way/
Surprisingly, this led me to find that "apps-marketplace.jar" had com.google.inject.Scopes class! Removing that from my build path got me past the NoSuchMethodError for isSingleton. Regards, Avanish On Sunday, April 22, 2012 10:34:59 PM UTC+5:30, Fred wrote: > > I'd be wary of possible classpath conflicts. Check your project's > dependency structure to confirm you're only pulling in Guice from head. > On Apr 22, 2012 11:12 AM, "Michael" <[email protected] <javascript:>> > wrote: > >> I'm using guice 3.0 on servlet RPC in GAE. >> >> when i am starting the server, i get the following error messages: >> >> Apr 22, 2012 5:45:37 AM com.google.apphosting.utils.jetty.JettyLogger >> warn >> WARNING: Error starting handlers >> java.lang.NoSuchMethodError: com.google.inject.Scopes.isSingleton(Lcom/ >> google/inject/Binding;)Z >> at >> com.google.inject.servlet.ServletDefinition.init(ServletDefinition.java: >> 103) >> at >> >> com.google.inject.servlet.ManagedServletPipeline.init(ManagedServletPipeline.java: >> 82) >> at >> >> com.google.inject.servlet.ManagedFilterPipeline.initPipeline(ManagedFilterPipeline.java: >> 102) >> at com.google.inject.servlet.GuiceFilter.init(GuiceFilter.java:172) >> ... >> >> what is the possible cause of this error? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "google-guice" group. >> To post to this group, send email to [email protected]<javascript:> >> . >> To unsubscribe from this group, send email to >> [email protected] <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/google-guice?hl=en. >> >> -- You received this message because you are subscribed to the Google Groups "google-guice" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-guice/-/iQt1OBq_YC0J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
