I am learning Gin with GinTutorial and I've stacked on silly problem.
In bind(MyWidgetMainPanel.class).in(Singleton.class);
Singleton does not exist.
I've already tried the following:
import com.google.gwt.inject.client.AbstractGinModule;
import com.google.gwt.inject.client.Singleton;
import com.google.gwt.inject.Singleton;
IDE shows that Singleton does not exist before compilation time.
If I try to use import com.google.inject.Singleton;
it shows that Singleton does not exist on compilation.
- gin-2.1.2
- gwt2.6
I'd be happy to have any of your ideas or explanations.