Vaadin 7.2.0 widgetset compilation error

Hi all, this is what I get when trying to recompile my widgetset with Vaadin 7.2.0:

[code]
compileWidgetSet:
[mkdir]
Created dir: /home/marco/Documents/work/Open Solutions/software/clicmenu/src/widgetsets/it/opensourcesolutions/clicmenu/widgetset
[java]
Widgetsets found from classpath:
[java]
com.vaadin.DefaultWidgetSet in jar:file:/home/marco/Documents/work/Open Solutions/software/clicmenu/WEB-INF/lib/vaadin/vaadin-client-7.2.0.jar!/
[java]
com.vaadin.tapio.googlemaps.WidgetSet in jar:file:/home/marco/Documents/work/Open Solutions/software/clicmenu/WEB-INF/lib/googlemaps/googlemaps-0.8.1.jar!/
[java]
Addon styles found from classpath:
[java]

 [java]

Search took 35ms
[java]
[WARN]
Unable to create new cache log file /home/marco/Documents/work/Open Solutions/software/clicmenu/VAADIN/widgetsets/…/gwt-unitCache/gwt-unitCache-00000146385D14DA.
[java]
java.io.IOException: No such file or directory
[java]
at java.io.UnixFileSystem.createFileExclusively(Native Method)
[java]
at java.io.File.createNewFile(File.java:959)
[java]
at com.google.gwt.dev.javac.PersistentUnitCache.createCacheFile(PersistentUnitCache.java:120)
[java]
at com.google.gwt.dev.javac.PersistentUnitCache.(PersistentUnitCache.java:264)
[java]
at com.google.gwt.dev.javac.UnitCacheFactory.get(UnitCacheFactory.java:59)
[java]
at com.google.gwt.dev.javac.CompilationStateBuilder.init(CompilationStateBuilder.java:438)
[java]
at com.google.gwt.dev.Compiler.run(Compiler.java:217)
[java]
at com.google.gwt.dev.Compiler.run(Compiler.java:198)
[java]
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[java]
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[java]
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
[java]
at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[java]
Compiling module it.opensourcesolutions.clicmenu.widgetset.CustomWidgetSet
[java]
Validating units:
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/WEB-INF/lib/vaadin/vaadin-client-7.2.0.jar!/com/google/gwt/core/client/impl/OnSuccessExecutor.java’
[java]
[ERROR]
Line 34: The method executeOnSuccess0(RunAsyncCallback) is undefined for the type AsyncFragmentLoader
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/WEB-INF/lib/vaadin/vaadin-client-7.2.0.jar!/com/google/gwt/core/client/impl/SynchronousOnSuccessExecutor.java’
[java]
[ERROR]
Line 29: The method executeOnSuccess0(RunAsyncCallback) is undefined for the type AsyncFragmentLoader
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/WEB-INF/lib/vaadin/vaadin-client-7.2.0.jar!/com/google/gwt/core/translatable/com/google/gwt/core/shared/impl/ThrowableTypeResolver.java’
[java]
[ERROR]
Line 31: The method isClassMetadataEnabled() from the type Class is not visible
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/WEB-INF/lib/vaadin/vaadin-client-compiler-7.2.0.jar!/com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/JavaClassHierarchySetupUtil.java’
[java]
[ERROR]
Line 51: Expected an identifier in JSNI reference
[java]

var maybeGetClassLiteralFromPlaceHolder =  @com.google.gwt.lang.JavaClassHierarchySetupUtil::
 [java]

-------------------------------------------------------------------------------------------------^
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/lib/vaadin/vaadin-client-7.1.12.jar!/com/google/gwt/dom/builder/client/DomAnchorBuilder.java’
[java]
[ERROR]
Line 24: The type DomAnchorBuilder must implement the inherited abstract method AnchorBuilder.href(SafeUri)
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/lib/vaadin/vaadin-client-7.1.12.jar!/com/google/gwt/dom/builder/client/DomFormBuilder.java’
[java]
[ERROR]
Line 24: The type DomFormBuilder must implement the inherited abstract method FormBuilder.action(SafeUri)
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/lib/vaadin/vaadin-client-7.1.12.jar!/com/google/gwt/dom/builder/client/DomFrameBuilder.java’
[java]
[ERROR]
Line 24: The type DomFrameBuilder must implement the inherited abstract method FrameBuilder.src(SafeUri)
[java]
[ERROR]
Line 24: The type DomFrameBuilder must implement the inherited abstract method FrameBuilder.longDesc(SafeUri)
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/lib/vaadin/vaadin-client-7.1.12.jar!/com/google/gwt/dom/builder/client/DomIFrameBuilder.java’
[java]
[ERROR]
Line 26: The type DomIFrameBuilder must implement the inherited abstract method IFrameBuilder.src(SafeUri)
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/lib/vaadin/vaadin-client-7.1.12.jar!/com/google/gwt/dom/builder/client/DomModBuilder.java’
[java]
[ERROR]
Line 24: The type DomModBuilder must implement the inherited abstract method ModBuilder.cite(SafeUri)
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/lib/vaadin/vaadin-client-7.1.12.jar!/com/google/gwt/dom/builder/client/DomQuoteBuilder.java’
[java]
[ERROR]
Line 24: The type DomQuoteBuilder must implement the inherited abstract method QuoteBuilder.cite(SafeUri)
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/WEB-INF/lib/vaadin/vaadin-client-7.2.0.jar!/com/google/gwt/event/dom/client/LoadedMetadataEvent.java’
[java]
[ERROR]
Line 37: LOADEDMETADATA cannot be resolved or is not a field
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/WEB-INF/lib/vaadin/vaadin-client-7.2.0.jar!/com/vaadin/client/componentlocator/ComponentLocator.java’
[java]
[ERROR]
Line 109: The method asOld(Element) is undefined for the type DOM
[java]
[ERROR]
Line 129: The method asOld(Element) is undefined for the type DOM
[java]
[ERROR]
Line 216: The method asOld(Element) is undefined for the type DOM
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/WEB-INF/lib/vaadin/vaadin-client-7.2.0.jar!/com/vaadin/client/componentlocator/LegacyLocatorStrategy.java’
[java]
[ERROR]
Line 92: The method findPaintable(ApplicationConnection, Element) in the type Util is not applicable for the arguments (ApplicationConnection, Element)
[java]
[ERROR]
Line 172: The method asOld(Element) is undefined for the type DOM
[java]
[ERROR]
Line 214: The method findWidget(Element, Class<? extends Widget>) in the type Util is not applicable for the arguments (Element, null) [java] [ERROR] Line 336: The method findWidget(Element, Class<? extends Widget>) in the type Util is not applicable for the arguments (Element, null) [java] [ERROR] Line 350: The method getChild(Element, int) in the type DOM is not applicable for the arguments (Element, int) [java] [ERROR] Errors in 'jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/WEB-INF/lib/vaadin/vaadin-client-7.2.0.jar!/com/vaadin/client/componentlocator/VaadinFinderLocatorStrategy.java' [java] [ERROR] Line 219: The method findPaintable(ApplicationConnection, Element) in the type Util is not applicable for the arguments (ApplicationConnection, Element) [java] [ERROR] Line 238: The method findPaintable(ApplicationConnection, Element) in the type Util is not applicable for the arguments (ApplicationConnection, Element) [java] [ERROR] Line 352: The method findPaintable(ApplicationConnection, Element) in the type Util is not applicable for the arguments (ApplicationConnection, Element) [java] [ERROR] Line 574: The method findIdentifiersFor(Class) is undefined for the type TypeDataStore
[java]
[ERROR]
Line 597: The method getTagsForServerSideClassName(String) is undefined for the type ApplicationConfiguration
[java]
[ERROR]
Line 600: The method getTagsForServerSideClassName(String) is undefined for the type ApplicationConfiguration
[java]
[ERROR]
Line 616: The method getTagsForServerSideClassName(String) is undefined for the type ApplicationConfiguration
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/WEB-INF/lib/vaadin/vaadin-client-7.2.0.jar!/com/vaadin/client/debug/internal/HierarchyPanel.java’
[java]
[ERROR]
Line 85: The method isOpen() is undefined for the type SimpleTree
[java]
[ERROR]
Line 86: The method getCaption() is undefined for the type SimpleTree
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/WEB-INF/lib/vaadin/vaadin-client-7.2.0.jar!/com/vaadin/client/debug/internal/TestBenchSection.java’
[java]
[ERROR]
Line 78: The method show(ComponentConnector) in the type Highlight is not applicable for the arguments (Element)
[java]
[ERROR]
Line 88: TESTBENCH cannot be resolved or is not a field
[java]
[ERROR]
Line 199: The method findPaintable(ApplicationConnection, Element) in the type Util is not applicable for the arguments (ApplicationConnection, Element)
[java]
[ERROR]
Line 264: The method getConnectorForElement(ApplicationConnection, Widget, Element) in the type Util is not applicable for the arguments (ApplicationConnection, VUI, Element)
[java]
[ERROR]
Line 267: The method getConnectorForElement(ApplicationConnection, Widget, Element) in the type Util is not applicable for the arguments (ApplicationConnection, RootPanel, Element)
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/WEB-INF/lib/vaadin/vaadin-client-7.2.0.jar!/com/vaadin/client/event/PointerEventSupportImplModernIE.java’
[java]
[ERROR]
Line 19: The type com.google.gwt.user.client.impl.DOMImplStandard is not visible
[java]
[ERROR]
Line 51: DOMImplStandard cannot be resolved
[java]
[ERROR]
Line 53: DOMImplStandard cannot be resolved
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/WEB-INF/lib/vaadin/vaadin-client-7.2.0.jar!/com/vaadin/client/ui/FontIcon.java’
[java]
[ERROR]
Line 39: Implicit super constructor Icon() is undefined. Must explicitly invoke another constructor
[java]
[ERROR]
Line 142: The method getUri() of type FontIcon must override or implement a supertype method
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/WEB-INF/lib/vaadin/vaadin-client-7.2.0.jar!/com/vaadin/client/ui/ImageIcon.java’
[java]
[ERROR]
Line 37: Implicit super constructor Icon() is undefined. Must explicitly invoke another constructor
[java]
[ERROR]
Line 72: The method getUri() of type ImageIcon must override or implement a supertype method
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/WEB-INF/lib/vaadin/vaadin-client-7.2.0.jar!/com/vaadin/client/ui/VWindowOverlay.java’
[java]
[ERROR]
Line 47: The method asOld(Element) is undefined for the type DOM
[java]
[ERROR]
Line 76: The method asOld(Element) is undefined for the type DOM
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/lib/vaadin/vaadin-client-7.1.12.jar!/com/vaadin/client/ui/ui/UIConnector.java’
[java]
[ERROR]
Line 106: The method setTitle(String) of type new PageClientRpc(){} must override or implement a supertype method
[java]
Finding entry point classes
[java]
[ERROR]
Errors in ‘jar:file:/home/marco/Documents/work/Open%20Solutions/software/clicmenu/lib/vaadin/vaadin-client-7.1.12.jar!/com/vaadin/client/ui/ui/UIConnector.java’
[java]
[ERROR]
Line 106: The method setTitle(String) of type new PageClientRpc(){} must override or implement a supertype method
[java]
[ERROR]
Unable to find type ‘com.vaadin.client.ApplicationConfiguration’
[java]
[ERROR]
Hint: Previous compiler errors may have made this type unavailable
[java]
[ERROR]
Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly

BUILD FAILED
/home/marco/Documents/work/Open Solutions/software/clicmenu/build.xml:67: Java returned: 1
[/code]Is there anything I have to change in my project, or is it a bug?

Thanks,
Marco

The errors indicate to me that you might be using some older version of GWT which is incompatible with Vaadin 7.2.

To ensure that you start from a clean slate remove any previously compiled widgetset and also remove any unit-Cache directory the compiler might have previously created.

Also, check your classpath that you don’t have any gwt jar dependencies.

Hi

I have a similar issue. Widgetset compilation worked the very first time after the upgrade from 7.1.15 to 7.2.0.

If I try again it fails with the following exception pasted below. I can get arround by either manually deleting the folder gwt-unitCache oder by setting false in the vaadin-maven-plugin configuration

[ERROR]
 An internal compiler exception occurred
[INFO]
 com.google.gwt.dev.jjs.InternalCompilerException: Error constructing Java AST
[INFO]
     at com.google.gwt.dev.jjs.impl.GwtAstBuilder.translateException(GwtAstBuilder.java:3167)
[INFO]
     at com.google.gwt.dev.jjs.impl.GwtAstBuilder$AstVisitor.endVisit(GwtAstBuilder.java:576)
[INFO]
     at org.eclipse.jdt.internal.compiler.ast.ClassLiteralAccess.traverse(ClassLiteralAccess.java:127)
[INFO]
     at org.eclipse.jdt.internal.compiler.ast.MessageSend.traverse(MessageSend.java:663)
[INFO]
     at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:307)
[INFO]
     at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1382)
[INFO]
     at org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.traverse(QualifiedAllocationExpression.java:552)
[INFO]
     at org.eclipse.jdt.internal.compiler.ast.MessageSend.traverse(MessageSend.java:663)
[INFO]
     at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:307)
[INFO]
     at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1382)
[INFO]
     at org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.traverse(QualifiedAllocationExpression.java:552)
[INFO]
     at org.eclipse.jdt.internal.compiler.ast.MessageSend.traverse(MessageSend.java:663)
[INFO]
     at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:307)
[INFO]
     at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1327)
[INFO]
     at com.google.gwt.dev.jjs.impl.GwtAstBuilder.process(GwtAstBuilder.java:3126)
[INFO]
     at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater$UnitProcessorImpl.process(CompilationStateBuilder.java:151)
[INFO]
     at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:352)
[INFO]
     at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:470)
[INFO]
     at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:890)
[INFO]
     at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:309)
[INFO]
     at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildGeneratedTypes(CompilationStateBuilder.java:582)
[INFO]
     at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.addGeneratedTypes(CompilationStateBuilder.java:213)
[INFO]
     at com.google.gwt.dev.javac.CompilationState.addGeneratedCompilationUnits(CompilationState.java:115)
[INFO]
     at com.google.gwt.dev.javac.StandardGeneratorContext.finish(StandardGeneratorContext.java:504)
[INFO]
     at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleGwtCreate(UnifyAst.java:388)
[INFO]
     at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:466)
[INFO]
     at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:255)
[INFO]
     at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:248)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:382)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:294)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:286)
[INFO]
     at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:129)
[INFO]
     at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:67)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:382)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:294)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:286)
[INFO]
     at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:129)
[INFO]
     at com.google.gwt.dev.jjs.ast.JBinaryOperation.traverse(JBinaryOperation.java:83)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:382)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:294)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:286)
[INFO]
     at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:129)
[INFO]
     at com.google.gwt.dev.jjs.ast.JExpressionStatement.traverse(JExpressionStatement.java:42)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:184)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:357)
[INFO]
     at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:84)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:382)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:294)
[INFO]
     at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:150)
[INFO]
     at com.google.gwt.dev.jjs.ast.JIfStatement.traverse(JIfStatement.java:53)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:184)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:357)
[INFO]
     at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:84)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:382)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:294)
[INFO]
     at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:150)
[INFO]
     at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:146)
[INFO]
     at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:83)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:382)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:294)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:286)
[INFO]
     at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:458)
[INFO]
     at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:427)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:382)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:294)
[INFO]
     at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:286)
[INFO]
     at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:941)
[INFO]
     at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:666)
[INFO]
     at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1132)
[INFO]
     at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.constructJavaAst(JavaToJavaScriptCompiler.java:966)
[INFO]
     at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.precompile(JavaToJavaScriptCompiler.java:887)
[INFO]
     at com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.precompile(MonolithicJavaToJavaScriptCompiler.java:349)
[INFO]
     at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:38)
[INFO]
     at com.google.gwt.dev.Precompile.precompile(Precompile.java:271)
[INFO]
     at com.google.gwt.dev.Precompile.precompile(Precompile.java:223)
[INFO]
     at com.google.gwt.dev.Precompile.precompile(Precompile.java:139)
[INFO]
     at com.google.gwt.dev.Compiler.run(Compiler.java:169)
[INFO]
     at com.google.gwt.dev.Compiler.run(Compiler.java:132)
[INFO]
     at com.google.gwt.dev.Compiler$1.run(Compiler.java:100)
[INFO]
     at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
[INFO]
     at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
[INFO]
     at com.google.gwt.dev.Compiler.main(Compiler.java:107)
[INFO]
 Caused by: java.lang.ClassCastException: com.google.gwt.dev.jjs.ast.JClassType cannot be cast to com.google.gwt.dev.jjs.ast.JInterfaceType
[INFO]
     at com.google.gwt.dev.jjs.impl.ReferenceMapper.get(ReferenceMapper.java:157)
[INFO]
     at com.google.gwt.dev.jjs.impl.GwtAstBuilder$AstVisitor.endVisit(GwtAstBuilder.java:573)
[INFO]
     ... 80 more
[INFO]
       [ERROR]
 at ConnectorBundleLoaderImpl.java(1817): java.util.AbstractList.class
[INFO]
          org.eclipse.jdt.internal.compiler.ast.ClassLiteralAccess
[INFO]
       [ERROR]
 at ConnectorBundleLoader.java(46): GWT.create(ConnectorBundleLoader.class)
[INFO]
          com.google.gwt.dev.jjs.ast.JMethodCall
[INFO]
       [ERROR]
 at ConnectorBundleLoader.java(46): (ConnectorBundleLoader) GWT.create(ConnectorBundleLoader.class)
[INFO]
          com.google.gwt.dev.jjs.ast.JCastOperation
[INFO]
       [ERROR]
 at ConnectorBundleLoader.java(46): ConnectorBundleLoader.impl = (ConnectorBundleLoader) GWT.create(ConnectorBundleLoader.class)
[INFO]
          com.google.gwt.dev.jjs.ast.JBinaryOperation
[INFO]
       [ERROR]
 at ConnectorBundleLoader.java(46): ConnectorBundleLoader.impl = (ConnectorBundleLoader) GWT.create(ConnectorBundleLoader.class)
[INFO]
          com.google.gwt.dev.jjs.ast.JExpressionStatement
[INFO]
       [ERROR]
 at ConnectorBundleLoader.java(45): {
[INFO]
   ConnectorBundleLoader.impl = (ConnectorBundleLoader) GWT.create(ConnectorBundleLoader.class);
[INFO]
 }
[INFO]
          com.google.gwt.dev.jjs.ast.JBlock
[INFO]
       [ERROR]
 at ConnectorBundleLoader.java(45): if (ConnectorBundleLoader.impl == null) {
[INFO]
   ConnectorBundleLoader.impl = (ConnectorBundleLoader) GWT.create(ConnectorBundleLoader.class);
[INFO]
 }
[INFO]
          com.google.gwt.dev.jjs.ast.JIfStatement
[INFO]
       [ERROR]
 at ConnectorBundleLoader.java(44): {
[INFO]
   if (ConnectorBundleLoader.impl == null) {
[INFO]
     ConnectorBundleLoader.impl = (ConnectorBundleLoader) GWT.create(ConnectorBundleLoader.class);
[INFO]
   }
[INFO]
   return ConnectorBundleLoader.impl;
[INFO]
 }
[INFO]
          com.google.gwt.dev.jjs.ast.JBlock
[INFO]
       [ERROR]
 at ConnectorBundleLoader.java(44): {
[INFO]
   if (ConnectorBundleLoader.impl == null) {
[INFO]
     ConnectorBundleLoader.impl = (ConnectorBundleLoader) GWT.create(ConnectorBundleLoader.class);
[INFO]
   }
[INFO]
   return ConnectorBundleLoader.impl;
[INFO]
 }
[INFO]
          com.google.gwt.dev.jjs.ast.JMethodBody
[INFO]
       [ERROR]
 at ConnectorBundleLoader.java(44): public static ConnectorBundleLoader get();
[INFO]
 
[INFO]
          com.google.gwt.dev.jjs.ast.JMethod
[INFO]
 Shutting down PersistentUnitCache thread

Thanks,
Francis

Thanks John, I actually forgot to replace the old lib/vaadin/vaadin-client-7.1.x.jar and vaadin-client-compiler-7.1.x.jar with the newest versions.
Now everything recompiles (but I still get lots of WARNings about “referencing deprecated class com.vaadin.shared.ui.progressindicator.ProgressIndicatorState”).

Thanks,
Marco

I was wondering about all those warnings as well when upgrading from 7.1.15.