Selena + GWT Follow
I?m using the latest Selena EAP, and Google Web Toolkit 1.3.3 (GWT),
and when executing IDEA, the latest GWT application loads and it shows
errors saying that the com.google.gwt.core.client.EntryPoint and others
imports are errors. But they aren?t. I can compile/run the application.
If I remove the GWT package and add it again (I need to do this twice)
then IDEA doesn?t show that errors. (note: it happen with other Selena
Other problem is that when using native methods, when using external
java variables like "this.@com.app.client.classname:methodname()()" it
shows that line as an error, is there any way to tell IDEA to don?t
show this specific error? I tried disabling the error checking in that
line but it didn?t work.
please, add intellisense inside the parameters of
"methodname(Lcom/java/<!intellisense here!>....)" !!
It will be very useful to have instellisense after the ?@? in that
Please sign in to leave a comment.
What error messages were shown for imports?
Support for these expressions is planned for Selena (http://www.jetbrains.net/jira/browse/IDEADEV-8200).
The error shows as a tip window over (for example) the line:
the tip says:
class 'com.google.gwt.core.client.GWT' is not presented in JRE
Emulation Library so it cannot be used in client code
I'm using latest 1.3.3 GWT. something strange is that for example in
the next 4 lines:
it marks as errors the first 2 lines, but not the last two lines (with
Are you sure that gwt-user.jar is added to classpath of your module?
Yes. it is, if I remove the entire package, and add it again, IDEA
recognize it. so it is there.
In the package, I have selected the path of the .jar files AND the path
to the source files.
Nikolay Chashnikov (JetBrains) wrote:
Please press Ctrl+B on a higlighted reference (e.g. EntryPoint). IDEA
should jump to EntryPoint class. Then press Alt+F1, 1 to select this class
in the project view and check whether it is located under gwt-user.jar and
gwt-user.jar contains User.gwt.xml file in com/google/gwt/user package.
>> Hello Ariel,
>> Are you sure that gwt-user.jar is added to classpath of your module?
wow, no... it is in the gwt-servlet.jar
I removed it and now, it seams to work. Sorry, I thought I needed to
add it, because it needs to be used when using RPC.
Thank you all! This is a very useful thread :)
true.. i had exactly the same problem.
is there an updated documentation of using GWT with idea 7.0M2 somewhere?
i had to guess a lot to get the sample project working..