Are you using the HEAD-SNAPSHOT version of GWT? elemental2-beta1 doesn't 
work with GWT 2.8.0 (this is one of the reasons a 2.8.1 will soon be 
released, see the gwt-contributors forum)

On Friday, April 14, 2017 at 4:22:01 PM UTC+2, zakaria amine wrote:
>
> Hello everybody,
>
> I tried the latest version of Elemental 2:
>
> <dependency>
> <groupId>com.google.elemental2</groupId>
> <artifactId>elemental2-dom</artifactId>
> <version>1.0.0-beta-1</version>
> <scope>provided</scope>
> </dependency>
>
> but I get the following error when I try to lunch the project in devmode: 
>
>  [ERROR] Errors in 'jsinterop/base/InternalJsUtil.java'
> [INFO]             [ERROR] Line 225: Referencing field 
> 'java.lang.Class.jsConstructor': unable to resolve field in class 
> 'java.lang.Class'
> [INFO]          Tracing compile failure path for type 
> 'jsinterop.base.InternalJsUtil'
> [INFO]             [ERROR] Errors in 'jsinterop/base/InternalJsUtil.java'
> [INFO]                [ERROR] Line 225: Referencing field 
> 'java.lang.Class.jsConstructor': unable to resolve field in class 
> 'java.lang.Class'
> [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
> [INFO]          Unification traversed 14632 fields and methods and 1861 
> types. 1299 are considered part of the current module and 1306 had all of 
> their fields and methods traversed.
>
> Anybody experienced the same? I know it is not stable, but it should run 
> though. 
>

-- 
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+unsubscr...@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.

Reply via email to