Friday, January 15, 2016

Re: unable to resolve class referenced by JS native method?

Hi,

I finally found it: I have a module "awi", which has at its root level a file "awi.java". I used this for global methods, e. g. awi.setParameter(...)...

After I changed

import awi.client.awi;

...
awi
.setParameter(...)



to

//import awi.client.awi;

...
awi
.client.awi.setParameter(...)


the problem was solved.

I will now stop using such confusing names.

However, something must have changed. This code worked until spring 2015. I wonder why it stopped working then...
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