kalmard0 / gwt-gae-channel

Automatically exported from code.google.com/p/gwt-gae-channel
0 stars 0 forks source link

com.google.inject cannot be resolved #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use gwt-gae-channel library

What is the expected output? What do you see instead?
Library should be able to create a channel client site.
Instead I get the following error messages:

Errors in 
'jar:file:[...]/war/WEB-INF/lib/gwt-gae-channel-2.0.0.jar!/com/google/gwt/appeng
ine/channel/client/ChannelFactory.java'
    [ERROR] The import com.google.inject cannot be resolved
    [ERROR] ImplementedBy cannot be resolved to a type
etc...

The last two commenter on the "How to use" wiki page seem to have the same 
problem. So either there is something wrong with the library or maybe the how 
to use page should be updated to address this issue.

Also the fact that <inherits name='com.google.gwt.appengine.channel.Channel'/>  
needs to be added to the .gwt.xml file should probably be mentioned somewhere.

What version of the product are you using? On what operating system?
gwt-gae-channel 2.0.0/Ubuntu Linux

Please provide any additional information below.

Original issue reported on code.google.com by corneliu...@gmail.com on 14 Feb 2013 at 1:41

GoogleCodeExporter commented 9 years ago
I have had the same problem with you and I solved it by adding gin-2.0.jar file 
(at https://code.google.com/p/google-gin/) to buidpath and adding this line to 
gwt.xml:

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

Original comment by heroand...@gmail.com on 20 Apr 2013 at 1:46

GoogleCodeExporter commented 9 years ago
I have this same problem but it is not solved by adding gin-2.0.jar or the most 
recent gin-2.1.2.jar.  Does anyone have any workarounds or an example program 
that uses this sucessfully?

Original comment by gle...@engel.org on 5 Jan 2014 at 6:07

GoogleCodeExporter commented 9 years ago
Adding the gin inherits worked for me previously but it is no longer working 
for me.

Original comment by cjmal...@gmail.com on 28 Sep 2014 at 5:09

GoogleCodeExporter commented 9 years ago
Same problem: Adding gin inherits and gin-2.1.2.jar does not solve it.

Original comment by rustyu...@gmail.com on 22 Oct 2014 at 8:17