Wednesday, December 6, 2017

Elemental2 Error

I have been using GWT for a while but I am new to elemental2, I have tried the following code to create new navigator object in GWT:

import elemental2.dom.Navigator;

and for entrypoint

private Navigator Nav = new Navigator(); 

the following are the first several lines of the error message I got during compile:


            [ERROR] elemental2.dom.Navigator cannot be resolved to a type

         [ERROR] Errors in 'elemental2/dom/'

            [ERROR] elemental2.dom.ServiceWorkerContainer cannot be resolved to a type

         [ERROR] Errors in 'elemental2/dom/'

            [ERROR] elemental2.dom.EventTarget cannot be resolved to a type

can anyone help? 



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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment