我是 GWT 和 PlayN 的新手。遵循 PlayN wiki 中的两个安装指南,让 PlayN 在 Eclipse 中工作:BeginnerInstallationGuide和GettingStarted。我可以运行showcase-java 项目,但是showcase-html 版本在编译过程中出现问题,说它找不到验证jar。这是 GWT 编译器的输出:
Compiling module playn.showcase.Showcase
Resolving com.google.gwt.validation.client.constraints.AbstractDecimalMaxValidator
Found type 'com.google.gwt.validation.client.constraints.AbstractDecimalMaxValidator'
Found type 'javax.validation.constraints.DecimalMax'
[WARN] Detected warnings related to 'javax.validation.Constraint'. Is validation-< version>.jar on the classpath?
Specify -logLevel DEBUG to see all errors.
[WARN] Ignoring unresolvable annotation type javax.validation.Constraint
Compiling 1 permutation
Compiling permutation 0...
Compile of permutations succeeded
Linking into C:\Users\Jo\playn-samples\showcase\html\target\playn-showcase-html-1.0-SNAPSHOT\showcase
Link succeeded
Compilation succeeded -- 62.900s
将不胜感激任何帮助!