Search code examples
gwtmavenplayn

can't compile play showcase html


I installed playN however I get this error:

[INFO] --- gwt-maven-plugin:2.4.0:compile (default) @ playn-showcase-html --- [ERROR] Error: Could not find or load main class com.google.gwt.dev.Compiler

I checked the m2 repository, and the gwt jars for 2.4 2.5 gwt seem to be there.

If I try to use GWT 2.5 in the project then I get this

The GWT SDK 'C:\Users\user.m2\repository\com\google\gwt' on the project's build path is not valid (Version is not supported, must be 2.0.0 or later)
playn-showcase-html
Unknown Google Web Toolkit Problem

Does this make sense at all? How to fix it?

Thanks


Solution

  • It seems that some gwt jars in the maven repository were corrupted. I deleted them, i run the playN sample again, the jars were downloaded correctly, and the whole think worked