我是新來GWT和PlayN。從PlayN維基遵循以下兩種安裝指南,以獲得PlayN在Eclipse工作:BeginnerInstallationGuide和GettingStarted。我可以運行showcase-java項目,但showcase-html版本在編譯期間產生問題,稱它無法找到驗證jar。這是GWT編譯器的輸出:PlayN展示-HTML驗證問題
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
希望得到任何幫助!
謝謝,但不幸的是這並沒有解決問題。我還根據[GettingStarted]剛剛重新安裝並配置了整個蝕/行家/ playN集(http://code.google.com/p/playn/wiki/GettingStarted) - 可惜沒有成功。我正在使用jre7和jdk7 - 這可能是問題嗎?我在某處讀到playN與jre6兼容的地方... – 2012-01-31 15:08:26
沒有。只是切換到jre6/jdk6,但這也沒有幫助。 – 2012-01-31 15:25:15
我確實使用jre7,所以這不是問題。 – user1141785 2012-02-02 20:33:19