Hello,
The corresponding line 45 in TestWidget.java looks like this:
It references a member "obj" in a class "FierensGraphicsWidget" in another module (awi):
Note that the class "FierensGraphicsWidget" can be referenced without problems from Java.
Thank you,
-- the GWT compiler says that he cannot resolve a class:
Tracing compile failure path for type 'mcs.client.div.test.gui.TestWidget' [ERROR] Errors in 'file:/home/warker/dvl/prj/myProject/src/mcs/client/div/test/gui/TestWidget.java' [ERROR] Line 45: Referencing class 'awi.client.vgi.gui.FierensGraphicsWidget': unable to resolve class [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
private native JavaScriptObject draw () /*-{ var svg = this.@awi.client.vgi.gui.FierensGraphicsWidget::obj; // line 45 ...
It references a member "obj" in a class "FierensGraphicsWidget" in another module (awi):
public class FierensGraphicsWidget extends GraphicsWidget{ protected JavaScriptObject obj = null;
...
Note that the class "FierensGraphicsWidget" can be referenced without problems from Java.
But the native method "draw" above cannot reference the member "obj".
I don't know where to start.
Could someone point me in the right direction?
Thank you,
Magnus
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment