Guice 4.2 and AppEngine?
Hello, currently I'm using Guice 4.1 on AppEngine with Kotlin, when trying to upgrade to Guice 4.2 I always get the following error: Caused by: java.lang.NoSuchMethodError: com.google.common.base.Preconditions. checkArgument(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V at com.google.inject.TypeLiteral.getParameterTypes(TypeLiteral.java:269) at com.google.inject.spi.InjectionPoint.forMember(InjectionPoint.java: 115) at com.google.inject.spi.InjectionPoint.(InjectionPoint.java:74) at com.google.inject.spi.InjectionPoint.forMethod(InjectionPoint.java: 318) at com.google.inject.internal.ProviderMethodsModule.createProviderMethod (ProviderMethodsModule.java:258) at com.google.inject.internal.ProviderMethodsModule.getProviderMethods( ProviderMethodsModule.java:116) at com.google.inject.internal.ProviderMethodsModule.configure( ProviderMethodsModule.java:100) at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java: 344) at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java: 353) at com.google.inject.AbstractModule.install(AbstractModule.java:103) at com.google.inject.servlet.ServletModule.configure(ServletModule.java: 49) at com.google.inject.AbstractModule.configure(AbstractModule.java:61) at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java: 344) at com.google.inject.spi.Elements.getElements(Elements.java:103) at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell. java:137) at com.google.inject.internal.InternalInjectorCreator.build( InternalInjectorCreator.java:103) at com.google.inject.Guice.createInjector(Guice.java:87) at com.google.inject.Guice.createInjector(Guice.java:69) at com.google.inject.Guice.createInjector(Guice.java:59) at de.envisia.systemparken.Main$Companion.createInjector(Main.kt:12) at de.envisia.systemparken.Main$Companion.access$createInjector(Main.kt: 9) at de.envisia.systemparken.Main.(Main.kt:18) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance( NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at org.eclipse.jetty.server.handler.ContextHandler$Context. createInstance(ContextHandler.java:2481) at org.eclipse.jetty.webapp.StandardDescriptorProcessor. newListenerInstance(StandardDescriptorProcessor.java:1944) at org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitListener( StandardDescriptorProcessor.java:1899) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit( IterativeDescriptorProcessor.java:83) at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process( IterativeDescriptorProcessor.java:70) at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:403) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext. java:1366) at org.eclipse.jetty.server.handler.ContextHandler.doStart( ContextHandler.java:778) at org.eclipse.jetty.servlet.ServletContextHandler.doStart( ServletContextHandler.java:262) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:522 ) at org.eclipse.jetty.util.component.AbstractLifeCycle.start( AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start( ContainerLifeCycle.java:131) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart( ContainerLifeCycle.java:105) at org.eclipse.jetty.server.handler.AbstractHandler.doStart( AbstractHandler.java:61) at org.eclipse.jetty.util.component.AbstractLifeCycle.start( AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start( ContainerLifeCycle.java:131) at org.eclipse.jetty.server.Server.start(Server.java:422) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart( ContainerLifeCycle.java:105) at org.eclipse.jetty.server.handler.AbstractHandler.doStart( AbstractHandler.java:61) at org.eclipse.jetty.server.Server.doStart(Server.java:389) at org.eclipse.jetty.util.component.AbstractLifeCycle.start( AbstractLifeCycle.java:68) at com.google.appengine.tools.development.jetty9.JettyContainerService. startContainer(JettyContainerService.java:346) at com.google.appengine.tools.development.AbstractContainerService. startup(AbstractContainerService.java:284) at com.google.appengine.tools.development.AutomaticInstanceHolder. st
Re: Guice 4.2
Great news, thanks Sam and team! Cheers, Martijn On 2 March 2018 at 16:57, Sam Berlin wrote: > Hi All, > > We released Guice 4.2 <https://github.com/google/guice/wiki/Guice42> the > other day. Some highlights include Java 9 support, better performance, and > better error messages. > > Special thanks to everyone who helped get this release out the door, as > well as everyone who contributed. > > Thanks! > > sam > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-guice+unsubscr...@googlegroups.com. > To post to this group, send email to google-guice@googlegroups.com. > Visit this group at https://groups.google.com/group/google-guice. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/google-guice/CAJEBNUcf1201CcS0NPdZFyioNSsE-q9X6xo_%2BHB7AfPpvEQpqA% > 40mail.gmail.com > <https://groups.google.com/d/msgid/google-guice/CAJEBNUcf1201CcS0NPdZFyioNSsE-q9X6xo_%2BHB7AfPpvEQpqA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-guice+unsubscr...@googlegroups.com. To post to this group, send email to google-guice@googlegroups.com. Visit this group at https://groups.google.com/group/google-guice. To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/CAP7YuAQFNyXmPn7msJpgYsgUJ9_-kiD%3DWvHB-L2xhwAsg7FgLQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Guice 4.2
Hi All, We released Guice 4.2 <https://github.com/google/guice/wiki/Guice42> the other day. Some highlights include Java 9 support, better performance, and better error messages. Special thanks to everyone who helped get this release out the door, as well as everyone who contributed. Thanks! sam -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-guice+unsubscr...@googlegroups.com. To post to this group, send email to google-guice@googlegroups.com. Visit this group at https://groups.google.com/group/google-guice. To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/CAJEBNUcf1201CcS0NPdZFyioNSsE-q9X6xo_%2BHB7AfPpvEQpqA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.