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:Usersuser.m2repositorycomgooglegwt' 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:Usersuser.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:Usersuser
. 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>
.
上一篇: 当Javadoc标签不完整时,Maven在Java 8中不工作
下一篇: 无法编译播放showcase html