manolo / gwt-polymer-elements

Polymer Web Components for GWT. A collection of Material Design widgets for desktop and mobile.
Apache License 2.0
155 stars 49 forks source link

The import com.google.gwt.core.client.js.JsFunction cannot be resolved #82

Closed vadimkim closed 8 years ago

vadimkim commented 8 years ago

[ERROR] Errors in 'jar:file:/home/../.m2/repository/com/vaadin/polymer/vaadin-gwt-polymer-elements/1.2.1.0/vaadin-gwt-polymer-elements-1.2.1.0.jar!/com/vaadin/polymer/elemental/Function.java' [ERROR] Line 6: JsFunction cannot be resolved to a type

For GWT 2.7.0 there is no such Type defined. I have search the library and found that JsFunction exists at

com.google.gwt.dev.js.ast.JsFunction;

but I don't know if this is a correct one. Will try to re-comiple library manually.

vadimkim commented 8 years ago

I have found that official GWT 2.7.0 release does not include this JsFunction. You need to get gwt sources and recompile it to be able to use polymer elements

manolo commented 8 years ago

Yes, please use gwt-2.8.0-beta1 or gwt-2.8.0-snapshot