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

有帮助吗?

解决方案

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

其他提示

C:\Users\user.m2 <-- this is very strange. it looks like somehow your maven repository path is munged up.

Check your environmental variables for MAVEN_REPOSITORY and see if its set to C:\Users\user. Also, find your maven installation directory, and look under the conf directory for a settings.xml, and see if you have <localRepository>${env.MAVEN_REPOSITORY}/.m2/repository</localRepository>.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top