I'm using GWT 2.8.0 in Eclipse Neon.
I have a Java class, com.xyz.shared.MyClass, that I've marked as @JsType.
When I select "Run As | GWT Development Mode with Jetty" in Eclipse, I see that though the html page comes up alright, I cannot access this class from the browser console - I get the error:
Uncaught ReferenceError: com is not defined
I tried specifying the -generateJsInteropExports option in 'GWT | Compile | Advanced | Additional Compiler Arguments', but it made no difference.
What am I missing?
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 email@example.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Post a Comment