I was really surprised, but here is result of my investigation: https://github.com/vaadin/gwt-polymer-elements/issues/82
Basically official GWT release 2.7.0 does not have JsFunction annotation. Thus it can't work with Vaadin Polymer. I have to clone GWT project sources and re-compile master to be able to use Polymer elements. Vadim. On Thursday, December 10, 2015 at 6:50:57 PM UTC+2, [email protected] wrote: > > Hello all, > > I have followed GWT tutorial to build TodoList polymer example and > during runtime got the following error: > > [ERROR] Errors in 'com/vaadin/polymer/elemental/Function.java' > [INFO] [ERROR] Line 6: JsFunction cannot be resolved to a > type > [INFO] [ERROR] Line 3: The import > com.google.gwt.core.client.js.JsFunction cannot be resolved > [INFO] [ERROR] Hint: Your source appears not to live underneath a > subpackage called 'client'; no problem, but you'll need to use the <source> > directive in your module to make it accessible > > I have done everything like tutorial said, but is not able to > resolve the issue by myself. JsInterop mode is enabled. I have no idea > where to look into... > > P.S. GWT version is 2.7.0, vaadin-gwt-polymer-elements is 1.2.1.0 > > Thank you. > -- 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 protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
