Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Java 8 compatibility for Guice
Java 8 compatibility for Guice [message #1773893] Fri, 06 October 2017 08:21 Go to next message
Wolf Rost is currently offline Wolf RostFriend
Messages: 4
Registered: June 2017
Junior Member
Hello everbody,

i am facing the same problem as descripted in this issue (https://github.com/eclipse/xtext-core/issues/393) on github.

It looks like Guice 3 has compatibility problems when using Java 8.
Since xtext 2.12 is using Guice 3, I often get the following exception:
Toggle Spoiler


Is there a workaround for this problem or plans to move to Guice 4?

Thank you in advance.
Re: Java 8 compatibility for Guice [message #1773894 is a reply to message #1773893] Fri, 06 October 2017 08:23 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 12229
Registered: July 2009
Senior Member
the workaround is not to make errors in your guice bindings ... ;)

Need professional support for Xtext, Xpand, EMF?
Go to: https://xtext.itemis.com
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Java 8 compatibility for Guice [message #1774069 is a reply to message #1773894] Tue, 10 October 2017 07:43 Go to previous message
Wolf Rost is currently offline Wolf RostFriend
Messages: 4
Registered: June 2017
Junior Member
The problem was that we called the method "createInjectorAndDoEMFRegistration" in two different servlets to get the injector.
Previous Topic:Build triggered when opening file in language implemented by Xtext
Next Topic:Xtext Code Navigation
Goto Forum:
  


Current Time: Wed Sep 19 06:39:22 GMT 2018

Powered by FUDForum. Page generated in 0.01898 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top