开发者

Gin / Gwt / Eclipse: com.google.gwt.inject.Inject cannot be resolved to a type

I'm trying to use GIN (Guice for GWT) within eclipse. The tutorial says to add a line to my module xml file:

   <inherits name="com.google.gwt.inject.Inject"/>

However, when I do this Eclipse reports an error "com.google.gwt.inject.Inject cannot be resolved to a type"

I开发者_JS百科've added gin.jar, aopalliance.jar and guice.jar as referenced libraries. What else do I need to do?


Did you import the guice-assistedinject jar, i think you need that jar as well


I had the same problem, I deleted gwt-UnitCache and it worked...


What operating system do you use? I've heard that some releases of Gin have problems with chmod privilages on unix a like systems.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜