Hi, I was relieved to not be the only one having this problem and it did solve it for GWT only project. GWT + GXT still fails though, at the moment I can't build at all. The OP actually has GXT stuff as well so thus I'm following this up here.
[gwt:compile] auto discovered modules [mygroupid.mymodule] Compiling module mygroupid.mymodule Scanning for additional dependencies: jar:file:/Users/douglas/.m2/ repository/com/extjs/gxt/2.2.0/gxt-2.2.0.jar!/com/extjs/gxt/ui/client/ core/El.java Computing all possible rebind results for 'com.extjs.gxt.ui.client.core.impl.ComputedStyleImpl' Rebinding com.extjs.gxt.ui.client.core.impl.ComputedStyleImpl Could not find an exact match rule. Using 'closest' rule <replace-with class='com.extjs.gxt.ui.client.core.impl.ComputedStyleImplIE'/> based on fall back values. You may need to implement a specific binding in case the fall back behavior does not replace the missing binding [ERROR] Errors in 'jar:file:/Users/douglas/.m2/repository/com/extjs/ gxt/2.2.0/gxt-2.2.0.jar!/com/extjs/gxt/ui/client/data/ BeanModelLookup.java' [ERROR] Internal compiler error java.lang.IncompatibleClassChangeError: Found interface com.google.gwt.core.ext.typeinfo.JClassType, but class was expected at com.extjs.gxt.ui.rebind.core.BeanModelGenerator.isBeanMarker(BeanModelGenerator.java: 197) at com.extjs.gxt.ui.rebind.core.BeanModelGenerator.generate(BeanModelGenerator.java: 54) at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java: 48) at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java: 60) at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java: 681) at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java: 41) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.rebind(StandardRebindOracle.java:74) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 285) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 274) at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java: 91) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java: 106) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.process(AbstractCompiler.java:251) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java: 444) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.compile(AbstractCompiler.java:170) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.compile(AbstractCompiler.java:285) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access $400(AbstractCompiler.java:139) at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java: 587) at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java: 124) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java: 54) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java: 525) at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java: 35) at com.google.gwt.dev.Precompile.precompile(Precompile.java:538) at com.google.gwt.dev.Precompile.precompile(Precompile.java:492) at com.google.gwt.dev.Precompile.precompile(Precompile.java:405) at com.google.gwt.dev.Compiler.run(Compiler.java:215) at com.google.gwt.dev.Compiler.run(Compiler.java:187) at com.google.gwt.dev.Compiler$1.run(Compiler.java:159) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java: 87) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java: 81) at com.google.gwt.dev.Compiler.main(Compiler.java:166) [ERROR] Unexpected java.lang.IncompatibleClassChangeError: Found interface com.google.gwt.core.ext.typeinfo.JClassType, but class was expected at com.extjs.gxt.ui.rebind.core.BeanModelGenerator.isBeanMarker(BeanModelGenerator.java: 197) at com.extjs.gxt.ui.rebind.core.BeanModelGenerator.generate(BeanModelGenerator.java: 54) at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java: 48) at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java: 60) at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java: 681) at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java: 41) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.rebind(StandardRebindOracle.java:74) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 285) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 274) at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java: 91) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java: 106) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.process(AbstractCompiler.java:251) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java: 444) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.compile(AbstractCompiler.java:170) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.compile(AbstractCompiler.java:285) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access $400(AbstractCompiler.java:139) at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java: 587) at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java: 124) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java: 54) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java: 525) at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java: 35) at com.google.gwt.dev.Precompile.precompile(Precompile.java:538) at com.google.gwt.dev.Precompile.precompile(Precompile.java:492) at com.google.gwt.dev.Precompile.precompile(Precompile.java:405) at com.google.gwt.dev.Compiler.run(Compiler.java:215) at com.google.gwt.dev.Compiler.run(Compiler.java:187) at com.google.gwt.dev.Compiler$1.run(Compiler.java:159) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java: 87) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java: 81) at com.google.gwt.dev.Compiler.main(Compiler.java:166) On May 22, 2:58 pm, m0rganic <morgan.bic...@gmail.com> wrote: > This problem can creep up in a number of ways, the main issue is that > you do not have the validation-api-1.0.0.GA.jar on your classpath. > > I ran into this issue using maven to build my eclipse project. Someone > from the gwt 2.3 forgot to include the validation-api jar as a > dependency in the maven pom for gwt 2.3. So as a consequence one needs > to add this jar explicitly to their project. > > This thread discusses the issue more in depth... > > http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users/b... > > -Morgan > > On May 21, 8:41 am, Sleem <mohammedsl...@gmail.com> wrote: > > > > > > > > > Dears > > > I have built an application using the GWT Eclipse plugin + GXT, when I > > migrated to the new SDK 2.3 (Window->preferences->google->web toolkit) > > and recompiled my app it gave the following errors > > > Compiling module XXX > > Validating newly compiled units > > [ERROR] Errors in 'jar:file:/D:/SDKs/gwt-2.3.0/gwt-user.jar!/com/ > > google/gwt/editor/client/EditorDriver.java' > > [ERROR] Line 20: The import > > javax.validation.ConstraintViolation cannot be resolved > > [ERROR] Line 97: ConstraintViolation cannot be resolved to a > > type > > [ERROR] Errors in 'jar:file:/D:/SDKs/gwt-2.3.0/gwt-user.jar!/com/ > > google/gwt/editor/client/impl/AbstractSimpleBeanEditorDriver.java' > > [ERROR] Line 28: Name clash: The method > > setConstraintViolations(Iterable<ConstraintViolation<?>>) of type > > BaseEditorDriver<T,E> has the same erasure as > > setConstraintViolations(Iterable<ConstraintViolation<?>>) of type > > EditorDriver<T> but does not override it > > [ERROR] Errors in 'jar:file:/D:/SDKs/gwt-2.3.0/gwt-user.jar!/com/ > > google/gwt/editor/client/impl/BaseEditorDriver.java' > > [ERROR] Line 31: The import > > javax.validation.ConstraintViolation cannot be resolved > > [ERROR] Line 67: ConstraintViolation cannot be resolved to a > > type > > [ERROR] Errors in 'jar:file:/D:/SDKs/gwt-2.3.0/gwt-user.jar!/com/ > > google/gwt/editor/client/impl/SimpleViolation.java' > > [ERROR] Line 25: The import > > javax.validation.ConstraintViolation cannot be resolved > > [ERROR] Line 40: ConstraintViolation cannot be resolved to a > > type > > [ERROR] Line 43: ConstraintViolation cannot be resolved to a > > type > > [ERROR] Line 44: Missing code implementation in the compiler > > [ERROR] Line 49: ConstraintViolation cannot be resolved to a > > type > > [ERROR] Line 49: Missing code implementation in the compiler > > [ERROR] Line 70: ConstraintViolation cannot be resolved to a > > type > > [ERROR] Line 72: ConstraintViolation cannot be resolved to a > > type > > [ERROR] Line 73: ConstraintViolation<?> cannot be resolved to > > a type > > [ERROR] Line 77: ConstraintViolation<capture#2-of ?> cannot > > be resolved to a type > > [ERROR] Line 81: ConstraintViolation<capture#3-of ?> cannot > > be resolved to a type > > [ERROR] Line 89: ConstraintViolation<capture#4-of ?> cannot > > be resolved to a type > > [ERROR] Line 93: ConstraintViolation<capture#5-of ?> cannot > > be resolved to a type > > [ERROR] Line 98: ConstraintViolation cannot be resolved to a > > type > > [ERROR] Errors in 'jar:file:/D:/SDKs/gwt-2.3.0/gwt-user.jar!/com/ > > google/gwt/editor/client/testing/MockSimpleBeanEditorDriver.java' > > [ERROR] Line 26: The import > > javax.validation.ConstraintViolation cannot be resolved > > [ERROR] Line 35: The type MockSimpleBeanEditorDriver<T,E> > > must implement the inherited abstract method > > EditorDriver<T>.setConstraintViolations(Iterable<ConstraintViolation<?>>) > > > [ERROR] Line 107: Name clash: The method > > setConstraintViolations(Iterable<ConstraintViolation<?>>) of type > > MockSimpleBeanEditorDriver<T,E> has the same erasure as > > setConstraintViolations(Iterable<ConstraintViolation<?>>) of type > > EditorDriver<T> but does not override it > > [ERROR] Line 108: ConstraintViolation cannot be resolved to a > > type > > [ERROR] Errors in 'jar:file:/D:/SDKs/gwt-2.3.0/gwt-user.jar!/ > > javax/validation/super/javax/validation/Configuration.java' > > [ERROR] Line 93: TraversableResolver cannot be resolved to a > > type > > [ERROR] Line 105: ConstraintValidatorFactory cannot be > > resolved to a type > > [ERROR] Line 182: TraversableResolver cannot be resolved to a > > type > > [ERROR] Line 182: No source code is available for type > > TraversableResolver; did you forget to inherit a required module? > > [ERROR] Line 194: ConstraintValidatorFactory cannot be > > resolved to a type > > [ERROR] Line 194: No source code is available for type > > ConstraintValidatorFactory; did you forget to inherit a required > > module? > > [ERROR] Line 202: ValidatorFactory cannot be resolved to a > > type > > [ERROR] Line 202: No source code is available for type > > ValidatorFactory; did you forget to inherit a required module? > > [ERROR] Errors in 'jar:file:/D:/SDKs/gwt-2.3.0/gwt-user.jar!/ > > javax/validation/ > > ConstraintViolationException_CustomFieldSerializer.java' > > [ERROR] Line 30: ConstraintViolationException cannot be > > resolved to a type > > [ERROR] Line 34: ConstraintViolationException cannot be > > resolved to a type > > [ERROR] Line 34: No source code is available for type > > ConstraintViolationException; did you forget to inherit a required > > module? > > [ERROR] Line 39: ConstraintViolation cannot be resolved to a > > type > > [ERROR] Line 39: ConstraintViolation cannot be resolved to a > > type > > [ERROR] Line 40: ConstraintViolationException cannot be > > resolved to a type > > [ERROR] Line 44: ConstraintViolationException cannot be > > resolved to a type > > [ERROR] Errors in 'jar:file:/D:/SDKs/gwt-2.3.0/gwt-user.jar!/ > > javax/validation/super/javax/validation/MessageInterpolator.java' > > [ERROR] Line 21: The import javax.validation.metadata cannot > > be resolved > > [ERROR] Line 66: ConstraintDescriptor cannot be resolved to a > > type > > [ERROR] Errors in 'jar:file:/D:/SDKs/gwt-2.3.0/gwt-user.jar!/ > > javax/validation/super/javax/validation/constraints/Pattern.java' > > [ERROR] Line 30: The import javax.validation.Constraint > > cannot be resolved > > [ERROR] Line 31: The import javax.validation.Payload cannot > > be resolved > > [ERROR] Line 49: Constraint cannot be resolved to a type > > [ERROR] Line 49: The attribute validatedBy is undefined for > > the annotation type Constraint > > [ERROR] Line 75: Payload cannot be resolved to a type > > [ERROR] Errors in 'jar:file:/D:/SDKs/gwt-2.3.0/gwt-user.jar!/ > > javax/validation/super/javax/validation/spi/ConfigurationState.java' > > [ERROR] Line 22: The import > > javax.validation.ConstraintValidatorFactory cannot be resolved > > [ERROR] Line 24: The import > > javax.validation.TraversableResolver cannot be resolved > > [ERROR] Line 93: ConstraintValidatorFactory cannot be > > resolved to a type > > [ERROR] Line 107: TraversableResolver cannot be resolved to a > > type > > Computing all possible rebind results for > > 'com.google.gwt.user.client.UserAgentAsserter' > > Rebinding com.google.gwt.user.client.UserAgentAsserter > > Checking rule <generate-with > > class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/> > > [WARN] Detected warnings related to > > 'com.google.gwt.editor.client.SimpleBeanEditorDriver'. Are > > validation-api-<version>.jar and validation-api-<version>-sources.jar > > on the classpath? > > Specify -logLevel DEBUG to see all errors. > > [WARN] Unknown type > > 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in > > deferred binding rule > > Scanning for additional dependencies: jar:file:/D:/workspace/XXX/ > > gxt.jar!/com/extjs/gxt/ui/client/core/El.java > > Computing all possible rebind results for > > 'com.extjs.gxt.ui.client.core.impl.ComputedStyleImpl' > > Rebinding com.extjs.gxt.ui.client.core.impl.ComputedStyleImpl > > Could not find an exact match rule. Using 'closest' rule > > <replace-with > > class='com.extjs.gxt.ui.client.core.impl.ComputedStyleImplIE'/> based > > on fall back values. You may need to implement a specific binding in > > case the fall back behavior does not replace the missing binding > > [ERROR] Errors in 'jar:file:/D:/workspace/XXX/gxt.jar!/com/extjs/ > > gxt/ui/client/widget/grid/GridView.java' > > [ERROR] Internal compiler error > > java.lang.IncompatibleClassChangeError: Found interface > > com.google.gwt.core.ext.typeinfo.JClassType, but class was expected > > at com.extjs.gxt.ui.rebind.core.TemplatesGenerator > > $SourceGenerator.validateType(TemplatesGenerator.java:142) > > at com.extjs.gxt.ui.rebind.core.TemplatesGenerator > > $SourceGenerator.generate(TemplatesGenerator.java:97) > > at > > com.extjs.gxt.ui.rebind.core.TemplatesGenerator.generate(TemplatesGenerator > > .java: > > 56) > > at > > com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.ja > > va: > > 48) > > at > > com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(Generator > > ExtWrapper.java: > > 60) > > at > > com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally > > (StandardGeneratorContext.java: > > 681) > > at > > com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java: > > ... > > read more » -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.