manolo / gwt-polymer-elements

Polymer Web Components for GWT. A collection of Material Design widgets for desktop and mobile.
Apache License 2.0
155 stars 49 forks source link

Issue when upgrading version of vaadin-gwt-polymer-elements for GWT app using Polymer project #137

Closed aadhaarm closed 7 years ago

aadhaarm commented 7 years ago

I started with developing my project following 'GWT app using Polymer' tutorial with the following dependency versions

  1. GWT - 2.7.0
  2. vaadin-gwt-polymer-elements - 1.0.2.0.alpha3

I am sofar able to upgrade the 'vaadin-gwt-polymer-elements' to 1.1.3.0-alpha1. If I try to upgrade it further, to say 1.7.0.0,

There are build errors...

[INFO]                [ERROR] Errors in 'jar:file:/Users/aadhaarmehrotra/.m2/repository/com/vaadin/polymer/vaadin-gwt-polymer-elements/1.7.0.0/vaadin-gwt-polymer-elements-1.7.0.0.jar!/com/vaadin/polymer/iron/event/IronChangeEvent.java'
[INFO]                   [ERROR] Line 11: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 13: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 21: JsOverlay cannot be resolved to a type
[INFO]                   [ERROR] Line 18: JsType cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/Users/aadhaarmehrotra/.m2/repository/com/vaadin/polymer/vaadin-gwt-polymer-elements/1.7.0.0/vaadin-gwt-polymer-elements-1.7.0.0.jar!/com/vaadin/polymer/iron/event/IronOverlayOpenedEvent.java'
[INFO]                   [ERROR] Line 11: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 13: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 21: JsOverlay cannot be resolved to a type
[INFO]                   [ERROR] Line 18: JsType cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/Users/aadhaarmehrotra/.m2/repository/com/vaadin/polymer/vaadin-gwt-polymer-elements/1.7.0.0/vaadin-gwt-polymer-elements-1.7.0.0.jar!/com/vaadin/polymer/iron/event/IronOverlayCanceledEvent.java'
[INFO]                   [ERROR] Line 12: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 13: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 21: JsOverlay cannot be resolved to a type
[INFO]                   [ERROR] Line 27: JsType cannot be resolved to a type
[INFO]                   [ERROR] Line 18: JsType cannot be resolved to a type
[INFO]                   [ERROR] Line 11: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 33: JsProperty cannot be resolved to a type
[INFO]                   [ERROR] Line 24: JsProperty cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/Users/aadhaarmehrotra/.m2/repository/com/vaadin/polymer/vaadin-gwt-polymer-elements/1.7.0.0/vaadin-gwt-polymer-elements-1.7.0.0.jar!/com/vaadin/polymer/iron/event/IronOverlayClosedEvent.java'
[INFO]                   [ERROR] Line 12: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 13: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 21: JsOverlay cannot be resolved to a type
[INFO]                   [ERROR] Line 27: JsType cannot be resolved to a type
[INFO]                   [ERROR] Line 18: JsType cannot be resolved to a type
[INFO]                   [ERROR] Line 11: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 33: JsProperty cannot be resolved to a type
[INFO]                   [ERROR] Line 24: JsProperty cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/Users/aadhaarmehrotra/.m2/repository/com/vaadin/polymer/vaadin-gwt-polymer-elements/1.7.0.0/vaadin-gwt-polymer-elements-1.7.0.0.jar!/com/vaadin/polymer/paper/event/ContentScrollEvent.java'
[INFO]                   [ERROR] Line 11: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 13: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 21: JsOverlay cannot be resolved to a type
[INFO]                   [ERROR] Line 18: JsType cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/Users/aadhaarmehrotra/.m2/repository/com/vaadin/polymer/vaadin-gwt-polymer-elements/1.7.0.0/vaadin-gwt-polymer-elements-1.7.0.0.jar!/com/vaadin/polymer/iron/event/IronItemsChangedEvent.java'
[INFO]                   [ERROR] Line 11: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 13: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 21: JsOverlay cannot be resolved to a type
[INFO]                   [ERROR] Line 18: JsType cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/Users/aadhaarmehrotra/.m2/repository/com/vaadin/polymer/vaadin-gwt-polymer-elements/1.7.0.0/vaadin-gwt-polymer-elements-1.7.0.0.jar!/com/vaadin/polymer/iron/event/IronActivateEvent.java'
[INFO]                   [ERROR] Line 12: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 38: JsProperty cannot be resolved to a type
[INFO]                   [ERROR] Line 13: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 21: JsOverlay cannot be resolved to a type
[INFO]                   [ERROR] Line 27: JsType cannot be resolved to a type
[INFO]                   [ERROR] Line 18: JsType cannot be resolved to a type
[INFO]                   [ERROR] Line 11: The import jsinterop cannot be resolved
[INFO]                   [ERROR] Line 33: JsProperty cannot be resolved to a type
[INFO]                   [ERROR] Line 24: JsProperty cannot be resolved to a type
[INFO]    [ERROR] Errors in 'com/l3/client/Injector.java'
[INFO]       [ERROR] Line 19: Failed to resolve 'com.l3.client.Injector' via deferred binding
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.554 s
[INFO] Finished at: 2016-11-11T14:05:58+05:30
[INFO] Final Memory: 16M/227M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.7.0:compile (default) on project L3mart: Command [[
[ERROR] /bin/sh -c '/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/bin/java' '-Xmx512m' '-classpath' '/Users/aadhaarmehrotra/git/L3Mart/target/classes:/Users/aadhaarmehrotra/git/L3Mart/src/main/java:/Users/aadhaarmehrotra/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar:/Users/aadhaarmehrotra/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/Users/aadhaarmehrotra/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar:/Users/aadhaarmehrotra/.m2/repository/com/google/gwt/gwt-dev/2.7.0/gwt-dev-2.7.0.jar:/Users/aadhaarmehrotra/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar:/Users/aadhaarmehrotra/.m2/repository/org/ow2/asm/asm-util/5.0.3/asm-util-5.0.3.jar:/Users/aadhaarmehrotra/.m2/repository/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar:/Users/aadhaarmehrotra/.m2/repository/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.jar:/Users/aadhaarmehrotra/.m2/repository/com/google/gwt/gwt-codeserver/2.7.0/gwt-codeserver-2.7.0.jar:/Users/aadhaarmehrotra/.m2/repository/com/vaadin/polymer/vaadin-gwt-polymer-elements/1.7.0.0/vaadin-gwt-polymer-elements-1.7.0.0.jar:/Users/aadhaarmehrotra/.m2/repository/com/google/appengine/appengine-api-1.0-sdk/1.9.44/appengine-api-1.0-sdk-1.9.44.jar:/Users/aadhaarmehrotra/.m2/repository/com/googlecode/objectify/objectify/5.1.13/objectify-5.1.13.jar:/Users/aadhaarmehrotra/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar:/Users/aadhaarmehrotra/.m2/repository/com/google/guava/guava-gwt/19.0/guava-gwt-19.0.jar:/Users/aadhaarmehrotra/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar:/Users/aadhaarmehrotra/.m2/repository/com/google/errorprone/error_prone_annotations/2.0.2/error_prone_annotations-2.0.2.jar:/Users/aadhaarmehrotra/.m2/repository/com/google/j2objc/j2objc-annotations/0.1/j2objc-annotations-0.1.jar:/Users/aadhaarmehrotra/.m2/repository/com/google/gwt/inject/gin/2.1.2/gin-2.1.2.jar:/Users/aadhaarmehrotra/.m2/repository/com/google/inject/guice/4.1.0/guice-4.1.0.jar:/Users/aadhaarmehrotra/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/aadhaarmehrotra/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/aadhaarmehrotra/.m2/repository/com/google/inject/extensions/guice-servlet/4.1.0/guice-servlet-4.1.0.jar:/Users/aadhaarmehrotra/.m2/repository/com/google/inject/extensions/guice-assistedinject/4.1.0/guice-assistedinject-4.1.0.jar:/Users/aadhaarmehrotra/.m2/repository/com/l3/gwt/plupload/gwt-plupload/1.1/gwt-plupload-1.1.jar:/Users/aadhaarmehrotra/.m2/repository/org/apache/httpcomponents/httpclient/4.5.1/httpclient-4.5.1.jar:/Users/aadhaarmehrotra/.m2/repository/org/apache/httpcomponents/httpcore/4.4.3/httpcore-4.4.3.jar:/Users/aadhaarmehrotra/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/Users/aadhaarmehrotra/.m2/repository/commons-codec/commons-codec/1.9/commons-codec-1.9.jar:/Users/aadhaarmehrotra/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar:/Users/aadhaarmehrotra/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/Users/aadhaarmehrotra/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar:/Users/aadhaarmehrotra/.m2/repository/com/google/gwt/gwt-dev/2.7.0/gwt-dev-2.7.0.jar:/Users/aadhaarmehrotra/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar:/Users/aadhaarmehrotra/.m2/repository/org/ow2/asm/asm-util/5.0.3/asm-util-5.0.3.jar:/Users/aadhaarmehrotra/.m2/repository/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar:/Users/aadhaarmehrotra/.m2/repository/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.jar' 'com.google.gwt.dev.Compiler' '-logLevel' 'INFO' '-style' 'OBF' '-war' '/Users/aadhaarmehrotra/git/L3Mart/target/L3mart-1.0-SNAPSHOT' '-localWorkers' '4' '-compileReport' '-XfragmentCount' '-1' '-sourceLevel' '1.7' '-XjsInteropMode' 'JS' '-extra' '/Users/aadhaarmehrotra/git/L3Mart/target/extra' '-gen' '/Users/aadhaarmehrotra/git/L3Mart/target/.generated' 'com.l3.L3Mart' 'com.l3.Mart' 'com.l3.User'
[ERROR] ]] failed with status 1
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

When I upgrade the GWT version to 2.8.0 Now the build errors are

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building com.l3.l3mart 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ L3mart ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/aadhaarmehrotra/git/L3Mart/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ L3mart ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ L3mart ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/aadhaarmehrotra/git/L3Mart/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ L3mart ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ L3mart ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- gwt-maven-plugin:2.8.0:compile (default) @ L3mart ---
[ERROR] Source level must be one of [auto, 1.8].
[ERROR] Google Web Toolkit 2.8.0
[ERROR] Compiler [-logLevel (ERROR|WARN|INFO|TRACE|DEBUG|SPAM|ALL)] [-workDir dir] [-X[no]closureFormattedOutput] [-[no]compileReport] [-X[no]checkCasts] [-X[no]classMetadata] [-[no]draftCompile] [-[no]checkAssertions] [-XfragmentCount numFragments] [-XfragmentMerge numFragments] [-gen dir] [-[no]generateJsInteropExports] [-XmethodNameDisplayMode (NONE|ONLY_METHOD_NAME|ABBREVIATED|FULL)] [-Xnamespace (NONE|PACKAGE)] [-optimize level] [-[no]saveSource] [-setProperty name=value,value...] [-style (DETAILED|OBFUSCATED|PRETTY)] [-[no]failOnError] [-[no]validateOnly] [-sourceLevel [auto, 1.8]] [-localWorkers count] [-[no]incremental] [-war dir] [-deploy dir] [-extra dir] [-saveSourceOutput dir] module[s] 
[ERROR] 
[ERROR] where 
[ERROR]   -logLevel                      The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM or ALL (defaults to INFO)
[ERROR]   -workDir                       The compiler's working directory for internal use (must be writeable; defaults to a system temp dir)
[ERROR]   -X[no]closureFormattedOutput   EXPERIMENTAL: Enables Javascript output suitable for post-compilation by Closure Compiler (defaults to OFF)
[ERROR]   -[no]compileReport             Compile a report that tells the "Story of Your Compile". (defaults to ON)
[ERROR]   -X[no]checkCasts               EXPERIMENTAL: DEPRECATED: use jre.checks.checkLevel instead. (defaults to OFF)
[ERROR]   -X[no]classMetadata            EXPERIMENTAL: Include metadata for some java.lang.Class methods (e.g. getName()). (defaults to ON)
[ERROR]   -[no]draftCompile              Compile quickly with minimal optimizations. (defaults to OFF)
[ERROR]   -[no]checkAssertions           Include assert statements in compiled output. (defaults to OFF)
[ERROR]   -XfragmentCount                EXPERIMENTAL: Limits of number of fragments using a code splitter that merges split points.
[ERROR]   -XfragmentMerge                DEPRECATED (use -XfragmentCount instead): Enables Fragment merging code splitter.
[ERROR]   -gen                           Debugging: causes normally-transient generated types to be saved in the specified directory
[ERROR]   -[no]generateJsInteropExports  Generate exports for JsInterop purposes (defaults to OFF)
[ERROR]   -XmethodNameDisplayMode        EXPERIMENTAL: Specifies method display name mode for chrome devtools: NONE, ONLY_METHOD_NAME, ABBREVIATED or FULL (defaults to NONE)
[ERROR]   -Xnamespace                    Puts most JavaScript globals into namespaces. Default: PACKAGE for -draftCompile, otherwise NONE
[ERROR]   -optimize                      Sets the optimization level used by the compiler.  0=none 9=maximum.
[ERROR]   -[no]saveSource                Enables saving source code needed by debuggers. Also see -debugDir. (defaults to OFF)
[ERROR]   -setProperty                   Set the values of a property in the form of propertyName=value1[,value2...].
[ERROR]   -style                         Script output style: DETAILED, OBFUSCATED or PRETTY (defaults to OBFUSCATED)
[ERROR]   -[no]failOnError               Fail compilation if any input file contains an error. (defaults to OFF)
[ERROR]   -[no]validateOnly              Validate all source code, but do not compile. (defaults to OFF)
[ERROR]   -sourceLevel                   Specifies Java source level (defaults to 1.8)
[ERROR]   -localWorkers                  The number of local workers to use when compiling permutations
[ERROR]   -[no]incremental               Compiles faster by reusing data from the previous compile. (defaults to OFF)
[ERROR]   -war                           The directory into which deployable output files will be written (defaults to 'war')
[ERROR]   -deploy                        The directory into which deployable but not servable output files will be written (defaults to 'WEB-INF/deploy' under the -war directory/jar, and may be the same as the -extra directory/jar)
[ERROR]   -extra                         The directory into which extra files, not intended for deployment, will be written
[ERROR]   -saveSourceOutput              Overrides where source files useful to debuggers will be written. Default: saved with extras.
[ERROR] and 
[ERROR]   module[s]                      Specifies the name(s) of the module(s) to compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.861 s
[INFO] Finished at: 2016-11-11T14:12:52+05:30
[INFO] Final Memory: 28M/227M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.8.0:compile (default) on project L3mart: Command [[
[ERROR] /bin/sh -c '/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/bin/java' '-Xmx512m' 'com.google.gwt.dev.Compiler' '-logLevel' 'INFO' '-war' '/Users/aadhaarmehrotra/git/L3Mart/target/L3mart-1.0-SNAPSHOT' '-localWorkers' '4' '-compileReport' '-XfragmentCount' '-1' '-sourceLevel' '1.7' '-extra' '/Users/aadhaarmehrotra/git/L3Mart/target/extra' '-gen' '/Users/aadhaarmehrotra/git/L3Mart/target/.generated' 'com.l3.L3Mart' 'com.l3.Mart' 'com.l3.User'
[ERROR] ]] failed with status 1
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

This requires a source level to be 1.8. So I added '1.8' to the 'gwt-maven-plugin'.

Now the build errors are...

[INFO]    Resolving java.util.function.IntToLongFunction
[INFO]       Found type 'java.util.function.IntToLongFunction'
[INFO]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
[INFO]    Resolving java.util.function.IntUnaryOperator
[INFO]       Found type 'java.util.function.IntUnaryOperator'
[INFO]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
[INFO]    Resolving java.util.function.LongBinaryOperator
[INFO]       Found type 'java.util.function.LongBinaryOperator'
[INFO]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
[INFO]    Resolving java.util.function.LongPredicate
[INFO]       Found type 'java.util.function.LongPredicate'
[INFO]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
[INFO]    Resolving java.util.function.LongSupplier
[INFO]       Found type 'java.util.function.LongSupplier'
[INFO]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
[INFO]    Resolving java.util.function.LongToDoubleFunction
[INFO]       Found type 'java.util.function.LongToDoubleFunction'
[INFO]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
[INFO]    Resolving java.util.function.LongToIntFunction
[INFO]       Found type 'java.util.function.LongToIntFunction'
[INFO]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
[INFO]    Resolving java.util.function.LongUnaryOperator
[INFO]       Found type 'java.util.function.LongUnaryOperator'
[INFO]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
[INFO]    Resolving java.util.function.ToDoubleBiFunction
[INFO]       Found type 'java.util.function.ToDoubleBiFunction'
[INFO]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
[INFO]    Resolving java.util.function.ToIntBiFunction
[INFO]       Found type 'java.util.function.ToIntBiFunction'
[INFO]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
[INFO]    Resolving java.util.function.ToLongBiFunction
[INFO]       Found type 'java.util.function.ToLongBiFunction'
[INFO]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
[INFO]    Computing all possible rebind results for 'com.l3.client.Injector'
[INFO]       Rebinding com.l3.client.Injector
[INFO]          Checking rule <generate-with class='com.google.gwt.inject.rebind.GinjectorGenerator'/>
[INFO]             Tracing compile failure path for type 'com.l3.client.Injector'
[INFO]                [ERROR] Errors in 'file:/Users/aadhaarmehrotra/git/L3Mart/src/main/java/com/l3/client/Injector.java'
[INFO]                   [ERROR] com.l3.client.user.UserController cannot be resolved to a type
[INFO]                [ERROR] Errors in 'file:/Users/aadhaarmehrotra/git/L3Mart/src/main/java/com/l3/client/mart/MartController.java'
[INFO]                   [ERROR] com.l3.client.mart.view.MartBodyWidget cannot be resolved to a type
[INFO]                [ERROR] Errors in 'file:/Users/aadhaarmehrotra/git/L3Mart/src/main/java/com/l3/client/user/UserController.java'
[INFO]                   [ERROR] com.l3.client.user.view.BodyWidget cannot be resolved to a type
[INFO]                [ERROR] Errors in 'file:/Users/aadhaarmehrotra/git/L3Mart/src/main/java/com/l3/client/mart/view/MartBodyWidget.java'
[INFO]                   [ERROR] com.l3.client.mart.view.MartContentWidget cannot be resolved to a type
[INFO]                [ERROR] Errors in 'file:/Users/aadhaarmehrotra/git/L3Mart/src/main/java/com/l3/client/user/view/BodyWidget.java'
[INFO]                   [ERROR] com.l3.client.user.view.product.UpdateProductDialog cannot be resolved to a type
[INFO]                [ERROR] Errors in 'file:/Users/aadhaarmehrotra/git/L3Mart/src/main/java/com/l3/client/mart/view/MartContentWidget.java'
[INFO]                   [ERROR] com.l3.client.mart.view.cart.CartWidget cannot be resolved to a type
[INFO]                [ERROR] Errors in 'file:/Users/aadhaarmehrotra/git/L3Mart/src/main/java/com/l3/client/user/view/product/UpdateProductDialog.java'
[INFO]                   [ERROR] Line 152: Type mismatch: cannot convert from Object to String
[INFO]                [ERROR] Errors in 'file:/Users/aadhaarmehrotra/git/L3Mart/src/main/java/com/l3/client/mart/view/cart/CartWidget.java'
[INFO]                   [ERROR] Line 41: PaperBadgeElement cannot be resolved to a type
[INFO]                   [ERROR] Line 26: PaperBadgeElement cannot be resolved to a type
[INFO]                   [ERROR] Line 11: The import com.vaadin.polymer.paper.element cannot be resolved
[INFO]    [ERROR] Errors in 'com/l3/client/Injector.java'
[INFO]       [ERROR] Line 19: Failed to resolve 'com.l3.client.Injector' via deferred binding
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 56.345 s
[INFO] Finished at: 2016-11-11T14:18:48+05:30
[INFO] Final Memory: 28M/227M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.8.0:compile (default) on project L3mart: Command [[
[ERROR] /bin/sh -c '/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/bin/java' '-Xmx512m' 'com.google.gwt.dev.Compiler' '-logLevel' 'INFO' '-war' '/Users/aadhaarmehrotra/git/L3Mart/target/L3mart-1.0-SNAPSHOT' '-localWorkers' '4' '-compileReport' '-XfragmentCount' '-1' '-sourceLevel' '1.8' '-extra' '/Users/aadhaarmehrotra/git/L3Mart/target/extra' '-gen' '/Users/aadhaarmehrotra/git/L3Mart/target/.generated' 'com.l3.L3Mart' 'com.l3.Mart' 'com.l3.User'
[ERROR] ]] failed with status 1
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

The polymer alpha version has bugs and I am not able to upgrade it to a stable version, please suggest the way out. Many Thanks.

I am also using the following versions if they may be causing an incompatibility

  1. com.google.guava - 19.0
  2. com.google.gwt.inject GIN - 2.1.2
  3. com.google.inject GUICE - 4.1.0
  4. appengine-api-1.0-sdk - 1.9.44
manolo commented 7 years ago

You have to use gwt-2.8.0

aadhaarm commented 7 years ago

Thank you but I did try using GWT-2.8.0 and upgraded the sourceLevel to 1.8 (Attached the build errors in my question already) and still getting build errors. I have tried searching for a solution but no success. Please guide me. Thanks.

manolo commented 7 years ago

I see, we redistributed package names to have a more meaningful tree.

[INFO]                   [ERROR] Line 26: PaperBadgeElement cannot be resolved to a type
[INFO]                   [ERROR] Line 11: The import com.vaadin.polymer.paper.element cannot be resolved

so com.vaadin.polymer.paper.element.PaperBadgeElement is now in com.vaadin.polymer.paper.PaperBadgeElement

You have to open all your classes ant make your IDE organise all imports again. Classes methods should not have changed so much.

aadhaarm commented 7 years ago

Thanks so much for looking into my issue and informing me about the package changes. I also saw issue with the following code and I understand there might be changes in them too

PaperTabs pnlTab;
String sel = pnlTab.getSelected();
[INFO]                   [ERROR] Line 152: Type mismatch: cannot convert from Object to String
PaperToast toastSuccess;
toastSuccess.show();
[INFO]                   [ERROR] Line 99: The method show(Object) in the type PaperToast is not applicable for the arguments ()

I fixed the above two issues by commenting them.

When I now build, its till not successful and the build errors are.

[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building com.l3.l3mart 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ L3mart --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /Users/aadhaarmehrotra/git/L3Mart/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ L3mart --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ L3mart --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /Users/aadhaarmehrotra/git/L3Mart/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ L3mart --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ L3mart --- [INFO] Tests are skipped. [INFO] [INFO] --- gwt-maven-plugin:2.8.0:compile (default) @ L3mart --- [INFO] Compiling module com.l3.L3Mart [INFO] Ignored 1 unit with compilation errors in first pass. [INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors. [INFO] Resolving com.google.common.annotations.Beta [INFO] Found type 'com.google.common.annotations.Beta' [INFO] Found type 'java.lang.annotation.Annotation' [INFO] Resolving method annotationType [INFO] Found type 'java.lang.Class' [INFO] Resolving method createForClass [INFO] Found type 'java.lang.String' [INFO] Resolving field CASE_INSENSITIVE_ORDER [INFO] Found type 'java.util.Comparator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving com.google.common.collect.AbstractMultimap.Entries [INFO] Found type 'com.google.common.collect.AbstractMultimap.Entries' [INFO] Found type 'com.google.common.collect.Multimaps' [INFO] Resolving method unmodifiableMultimap [INFO] Found type 'com.google.common.collect.ImmutableMultimap' [INFO] Resolving method <init> [INFO] Found type 'com.google.common.collect.ImmutableMap' [INFO] Resolving method entrySet [INFO] Found type 'com.google.common.collect.ImmutableSet' [INFO] Found type 'com.google.common.collect.ImmutableCollection' [INFO] Resolving method asList [INFO] Found type 'com.google.common.collect.ImmutableList' [INFO] Resolving method builder [INFO] Found type 'com.google.common.collect.ImmutableList.Builder' [INFO] Resolving field contents [INFO] Found type 'java.util.ArrayList' [INFO] Resolving method forEach [INFO] Found type 'java.util.function.Consumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method removeIf [INFO] Found type 'java.util.function.Predicate' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method replaceAll [INFO] Found type 'java.util.function.UnaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Found type 'java.util.function.Function' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.lang.Runnable [INFO] Found type 'java.lang.Runnable' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.Arrays [INFO] Found type 'java.util.Arrays' [INFO] Resolving method parallelPrefix [INFO] Found type 'java.util.function.BinaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Found type 'java.util.function.BiFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method setAll [INFO] Found type 'java.util.function.IntFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method stream [INFO] Found type 'java.util.stream.Stream' [INFO] Resolving method collect [INFO] Found type 'java.util.stream.Collector' [INFO] Resolving method supplier [INFO] Found type 'java.util.function.Supplier' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method accumulator [INFO] Found type 'java.util.function.BiConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method flatMapToDouble [INFO] Found type 'java.util.stream.DoubleStream' [INFO] Resolving method collect [INFO] Found type 'java.util.function.ObjDoubleConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method flatMap [INFO] Found type 'java.util.function.DoubleFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method flatMapToInt [INFO] Found type 'java.util.stream.IntStream' [INFO] Resolving method collect [INFO] Found type 'java.util.function.ObjIntConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method flatMapToLong [INFO] Found type 'java.util.stream.LongStream' [INFO] Resolving method collect [INFO] Found type 'java.util.function.ObjLongConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method flatMap [INFO] Found type 'java.util.function.LongFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method mapToDouble [INFO] Found type 'java.util.function.ToDoubleFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method mapToInt [INFO] Found type 'java.util.function.ToIntFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method mapToLong [INFO] Found type 'java.util.function.ToLongFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.DoubleSummaryStatistics [INFO] Found type 'java.util.DoubleSummaryStatistics' [INFO] Found type 'java.util.function.DoubleConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.IntSummaryStatistics [INFO] Found type 'java.util.IntSummaryStatistics' [INFO] Found type 'java.util.function.IntConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.LongSummaryStatistics [INFO] Found type 'java.util.LongSummaryStatistics' [INFO] Found type 'java.util.function.LongConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.BiPredicate [INFO] Found type 'java.util.function.BiPredicate' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.BooleanSupplier [INFO] Found type 'java.util.function.BooleanSupplier' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoubleBinaryOperator [INFO] Found type 'java.util.function.DoubleBinaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoublePredicate [INFO] Found type 'java.util.function.DoublePredicate' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoubleSupplier [INFO] Found type 'java.util.function.DoubleSupplier' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoubleToIntFunction [INFO] Found type 'java.util.function.DoubleToIntFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoubleToLongFunction [INFO] Found type 'java.util.function.DoubleToLongFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoubleUnaryOperator [INFO] Found type 'java.util.function.DoubleUnaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntBinaryOperator [INFO] Found type 'java.util.function.IntBinaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntPredicate [INFO] Found type 'java.util.function.IntPredicate' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntSupplier [INFO] Found type 'java.util.function.IntSupplier' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntToDoubleFunction [INFO] Found type 'java.util.function.IntToDoubleFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntToLongFunction [INFO] Found type 'java.util.function.IntToLongFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntUnaryOperator [INFO] Found type 'java.util.function.IntUnaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongBinaryOperator [INFO] Found type 'java.util.function.LongBinaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongPredicate [INFO] Found type 'java.util.function.LongPredicate' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongSupplier [INFO] Found type 'java.util.function.LongSupplier' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongToDoubleFunction [INFO] Found type 'java.util.function.LongToDoubleFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongToIntFunction [INFO] Found type 'java.util.function.LongToIntFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongUnaryOperator [INFO] Found type 'java.util.function.LongUnaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.ToDoubleBiFunction [INFO] Found type 'java.util.function.ToDoubleBiFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.ToIntBiFunction [INFO] Found type 'java.util.function.ToIntBiFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.ToLongBiFunction [INFO] Found type 'java.util.function.ToLongBiFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] [ERROR] An internal compiler exception occurred [INFO] com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit. [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:111) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:276) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118) [INFO] at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:72) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118) [INFO] at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:49) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:88) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:331) [INFO] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:139) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:135) [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:361) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265) [INFO] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:786) [INFO] at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:778) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:1401) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:896) [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1410) [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1222) [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:1140) [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:255) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:255) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:202) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:143) [INFO] at com.google.gwt.dev.Compiler.compile(Compiler.java:204) [INFO] at com.google.gwt.dev.Compiler.compile(Compiler.java:155) [INFO] at com.google.gwt.dev.Compiler.compile(Compiler.java:144) [INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:118) [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:125) [INFO] Caused by: java.lang.UnsupportedClassVersionError: com/l3/client/Injector : Unsupported major.minor version 52.0 [INFO] at java.lang.ClassLoader.defineClass1(Native Method) [INFO] at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [INFO] at java.lang.ClassLoader.defineClass(ClassLoader.java:643) [INFO] at com.google.gwt.inject.rebind.GinBridgeClassLoader.findClass(GinBridgeClassLoader.java:160) [INFO] at com.google.gwt.inject.rebind.GinBridgeClassLoader.loadClass(GinBridgeClassLoader.java:106) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [INFO] at java.lang.Class.forName0(Native Method) [INFO] at java.lang.Class.forName(Class.java:274) [INFO] at com.google.gwt.inject.rebind.GinjectorGenerator.loadClass(GinjectorGenerator.java:223) [INFO] at com.google.gwt.inject.rebind.GinjectorGenerator.getGinjectorType(GinjectorGenerator.java:104) [INFO] at com.google.gwt.inject.rebind.GinjectorGenerator.generate(GinjectorGenerator.java:60) [INFO] at com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40) [INFO] at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:745) [INFO] at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:103) [INFO] at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78) [INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:262) [INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:251) [INFO] at com.google.gwt.dev.PrecompilationContextCreator$1.getAllPossibleRebindAnswers(PrecompilationContextCreator.java:86) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createStaticRebindExpression(UnifyAst.java:519) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createRebindExpression(UnifyAst.java:487) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.maybeHandleMagicMethodCall(UnifyAst.java:415) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.visit(UnifyAst.java:402) [INFO] at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:265) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) [INFO] ... 40 more [INFO] [ERROR] at Injector.java(19): GWT.create(Injector.class) [INFO] com.google.gwt.dev.jjs.ast.JMethodCall [INFO] [ERROR] at Injector.java(19): (Injector) GWT.create(Injector.class) [INFO] com.google.gwt.dev.jjs.ast.JCastOperation [INFO] [ERROR] at Injector.java(19): final static Injector INSTANCE = (Injector) GWT.create(Injector.class) [INFO] com.google.gwt.dev.jjs.ast.JDeclarationStatement [INFO] [ERROR] at Injector.java(17): { [INFO] final static Injector INSTANCE = (Injector) GWT.create(Injector.class); [INFO] } [INFO] com.google.gwt.dev.jjs.ast.JBlock [INFO] [ERROR] at Injector.java(17): { [INFO] final static Injector INSTANCE = (Injector) GWT.create(Injector.class); [INFO] } [INFO] com.google.gwt.dev.jjs.ast.JMethodBody [INFO] [ERROR] at Injector.java(17): com.l3.client.Injector.$clinit()V [INFO] com.google.gwt.dev.jjs.ast.JMethod [INFO] Compiling module com.l3.Mart [INFO] Ignored 1 unit with compilation errors in first pass. [INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors. [INFO] Resolving com.google.common.annotations.Beta [INFO] Found type 'com.google.common.annotations.Beta' [INFO] Found type 'java.lang.annotation.Annotation' [INFO] Resolving method annotationType [INFO] Found type 'java.lang.Class' [INFO] Resolving method createForClass [INFO] Found type 'java.lang.String' [INFO] Resolving field CASE_INSENSITIVE_ORDER [INFO] Found type 'java.util.Comparator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving com.google.common.collect.AbstractMultimap.Entries [INFO] Found type 'com.google.common.collect.AbstractMultimap.Entries' [INFO] Found type 'com.google.common.collect.Multimaps' [INFO] Resolving method unmodifiableMultimap [INFO] Found type 'com.google.common.collect.ImmutableMultimap' [INFO] Resolving method <init> [INFO] Found type 'com.google.common.collect.ImmutableMap' [INFO] Resolving method entrySet [INFO] Found type 'com.google.common.collect.ImmutableSet' [INFO] Found type 'com.google.common.collect.ImmutableCollection' [INFO] Resolving method asList [INFO] Found type 'com.google.common.collect.ImmutableList' [INFO] Resolving method builder [INFO] Found type 'com.google.common.collect.ImmutableList.Builder' [INFO] Resolving field contents [INFO] Found type 'java.util.ArrayList' [INFO] Resolving method forEach [INFO] Found type 'java.util.function.Consumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method removeIf [INFO] Found type 'java.util.function.Predicate' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method replaceAll [INFO] Found type 'java.util.function.UnaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Found type 'java.util.function.Function' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.lang.Runnable [INFO] Found type 'java.lang.Runnable' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.Arrays [INFO] Found type 'java.util.Arrays' [INFO] Resolving method parallelPrefix [INFO] Found type 'java.util.function.BinaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Found type 'java.util.function.BiFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method setAll [INFO] Found type 'java.util.function.IntFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method stream [INFO] Found type 'java.util.stream.Stream' [INFO] Resolving method collect [INFO] Found type 'java.util.stream.Collector' [INFO] Resolving method supplier [INFO] Found type 'java.util.function.Supplier' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method accumulator [INFO] Found type 'java.util.function.BiConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method flatMapToDouble [INFO] Found type 'java.util.stream.DoubleStream' [INFO] Resolving method collect [INFO] Found type 'java.util.function.ObjDoubleConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method flatMap [INFO] Found type 'java.util.function.DoubleFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method flatMapToInt [INFO] Found type 'java.util.stream.IntStream' [INFO] Resolving method collect [INFO] Found type 'java.util.function.ObjIntConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method flatMapToLong [INFO] Found type 'java.util.stream.LongStream' [INFO] Resolving method collect [INFO] Found type 'java.util.function.ObjLongConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method flatMap [INFO] Found type 'java.util.function.LongFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method mapToDouble [INFO] Found type 'java.util.function.ToDoubleFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method mapToInt [INFO] Found type 'java.util.function.ToIntFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method mapToLong [INFO] Found type 'java.util.function.ToLongFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.DoubleSummaryStatistics [INFO] Found type 'java.util.DoubleSummaryStatistics' [INFO] Found type 'java.util.function.DoubleConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.IntSummaryStatistics [INFO] Found type 'java.util.IntSummaryStatistics' [INFO] Found type 'java.util.function.IntConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.LongSummaryStatistics [INFO] Found type 'java.util.LongSummaryStatistics' [INFO] Found type 'java.util.function.LongConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.BiPredicate [INFO] Found type 'java.util.function.BiPredicate' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.BooleanSupplier [INFO] Found type 'java.util.function.BooleanSupplier' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoubleBinaryOperator [INFO] Found type 'java.util.function.DoubleBinaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoublePredicate [INFO] Found type 'java.util.function.DoublePredicate' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoubleSupplier [INFO] Found type 'java.util.function.DoubleSupplier' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoubleToIntFunction [INFO] Found type 'java.util.function.DoubleToIntFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoubleToLongFunction [INFO] Found type 'java.util.function.DoubleToLongFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoubleUnaryOperator [INFO] Found type 'java.util.function.DoubleUnaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntBinaryOperator [INFO] Found type 'java.util.function.IntBinaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntPredicate [INFO] Found type 'java.util.function.IntPredicate' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntSupplier [INFO] Found type 'java.util.function.IntSupplier' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntToDoubleFunction [INFO] Found type 'java.util.function.IntToDoubleFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntToLongFunction [INFO] Found type 'java.util.function.IntToLongFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntUnaryOperator [INFO] Found type 'java.util.function.IntUnaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongBinaryOperator [INFO] Found type 'java.util.function.LongBinaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongPredicate [INFO] Found type 'java.util.function.LongPredicate' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongSupplier [INFO] Found type 'java.util.function.LongSupplier' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongToDoubleFunction [INFO] Found type 'java.util.function.LongToDoubleFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongToIntFunction [INFO] Found type 'java.util.function.LongToIntFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongUnaryOperator [INFO] Found type 'java.util.function.LongUnaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.ToDoubleBiFunction [INFO] Found type 'java.util.function.ToDoubleBiFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.ToIntBiFunction [INFO] Found type 'java.util.function.ToIntBiFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.ToLongBiFunction [INFO] Found type 'java.util.function.ToLongBiFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] [ERROR] An internal compiler exception occurred [INFO] com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit. [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:111) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:276) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118) [INFO] at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:72) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118) [INFO] at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:49) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:88) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:331) [INFO] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:139) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:135) [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:361) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265) [INFO] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:786) [INFO] at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:778) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:1401) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:896) [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1410) [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1222) [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:1140) [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:255) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:255) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:202) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:143) [INFO] at com.google.gwt.dev.Compiler.compile(Compiler.java:204) [INFO] at com.google.gwt.dev.Compiler.compile(Compiler.java:155) [INFO] at com.google.gwt.dev.Compiler.compile(Compiler.java:144) [INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:118) [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:125) [INFO] Caused by: java.lang.UnsupportedClassVersionError: com/l3/client/Injector : Unsupported major.minor version 52.0 [INFO] at java.lang.ClassLoader.defineClass1(Native Method) [INFO] at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [INFO] at java.lang.ClassLoader.defineClass(ClassLoader.java:643) [INFO] at com.google.gwt.inject.rebind.GinBridgeClassLoader.findClass(GinBridgeClassLoader.java:160) [INFO] at com.google.gwt.inject.rebind.GinBridgeClassLoader.loadClass(GinBridgeClassLoader.java:106) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [INFO] at java.lang.Class.forName0(Native Method) [INFO] at java.lang.Class.forName(Class.java:274) [INFO] at com.google.gwt.inject.rebind.GinjectorGenerator.loadClass(GinjectorGenerator.java:223) [INFO] at com.google.gwt.inject.rebind.GinjectorGenerator.getGinjectorType(GinjectorGenerator.java:104) [INFO] at com.google.gwt.inject.rebind.GinjectorGenerator.generate(GinjectorGenerator.java:60) [INFO] at com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40) [INFO] at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:745) [INFO] at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:103) [INFO] at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78) [INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:262) [INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:251) [INFO] at com.google.gwt.dev.PrecompilationContextCreator$1.getAllPossibleRebindAnswers(PrecompilationContextCreator.java:86) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createStaticRebindExpression(UnifyAst.java:519) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createRebindExpression(UnifyAst.java:487) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.maybeHandleMagicMethodCall(UnifyAst.java:415) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.visit(UnifyAst.java:402) [INFO] at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:265) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) [INFO] ... 40 more [INFO] [ERROR] at Injector.java(19): GWT.create(Injector.class) [INFO] com.google.gwt.dev.jjs.ast.JMethodCall [INFO] [ERROR] at Injector.java(19): (Injector) GWT.create(Injector.class) [INFO] com.google.gwt.dev.jjs.ast.JCastOperation [INFO] [ERROR] at Injector.java(19): final static Injector INSTANCE = (Injector) GWT.create(Injector.class) [INFO] com.google.gwt.dev.jjs.ast.JDeclarationStatement [INFO] [ERROR] at Injector.java(17): { [INFO] final static Injector INSTANCE = (Injector) GWT.create(Injector.class); [INFO] } [INFO] com.google.gwt.dev.jjs.ast.JBlock [INFO] [ERROR] at Injector.java(17): { [INFO] final static Injector INSTANCE = (Injector) GWT.create(Injector.class); [INFO] } [INFO] com.google.gwt.dev.jjs.ast.JMethodBody [INFO] [ERROR] at Injector.java(17): com.l3.client.Injector.$clinit()V [INFO] com.google.gwt.dev.jjs.ast.JMethod [INFO] Compiling module com.l3.User [INFO] Ignored 1 unit with compilation errors in first pass. [INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors. [INFO] Resolving com.google.common.annotations.Beta [INFO] Found type 'com.google.common.annotations.Beta' [INFO] Found type 'java.lang.annotation.Annotation' [INFO] Resolving method annotationType [INFO] Found type 'java.lang.Class' [INFO] Resolving method createForClass [INFO] Found type 'java.lang.String' [INFO] Resolving field CASE_INSENSITIVE_ORDER [INFO] Found type 'java.util.Comparator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving com.google.common.collect.AbstractMultimap.Entries [INFO] Found type 'com.google.common.collect.AbstractMultimap.Entries' [INFO] Found type 'com.google.common.collect.Multimaps' [INFO] Resolving method unmodifiableMultimap [INFO] Found type 'com.google.common.collect.ImmutableMultimap' [INFO] Resolving method <init> [INFO] Found type 'com.google.common.collect.ImmutableMap' [INFO] Resolving method entrySet [INFO] Found type 'com.google.common.collect.ImmutableSet' [INFO] Found type 'com.google.common.collect.ImmutableCollection' [INFO] Resolving method asList [INFO] Found type 'com.google.common.collect.ImmutableList' [INFO] Resolving method builder [INFO] Found type 'com.google.common.collect.ImmutableList.Builder' [INFO] Resolving field contents [INFO] Found type 'java.util.ArrayList' [INFO] Resolving method forEach [INFO] Found type 'java.util.function.Consumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method removeIf [INFO] Found type 'java.util.function.Predicate' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method replaceAll [INFO] Found type 'java.util.function.UnaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Found type 'java.util.function.Function' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.lang.Runnable [INFO] Found type 'java.lang.Runnable' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.Arrays [INFO] Found type 'java.util.Arrays' [INFO] Resolving method parallelPrefix [INFO] Found type 'java.util.function.BinaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Found type 'java.util.function.BiFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method setAll [INFO] Found type 'java.util.function.IntFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method stream [INFO] Found type 'java.util.stream.Stream' [INFO] Resolving method collect [INFO] Found type 'java.util.stream.Collector' [INFO] Resolving method supplier [INFO] Found type 'java.util.function.Supplier' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method accumulator [INFO] Found type 'java.util.function.BiConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method flatMapToDouble [INFO] Found type 'java.util.stream.DoubleStream' [INFO] Resolving method collect [INFO] Found type 'java.util.function.ObjDoubleConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method flatMap [INFO] Found type 'java.util.function.DoubleFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method flatMapToInt [INFO] Found type 'java.util.stream.IntStream' [INFO] Resolving method collect [INFO] Found type 'java.util.function.ObjIntConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method flatMapToLong [INFO] Found type 'java.util.stream.LongStream' [INFO] Resolving method collect [INFO] Found type 'java.util.function.ObjLongConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method flatMap [INFO] Found type 'java.util.function.LongFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method mapToDouble [INFO] Found type 'java.util.function.ToDoubleFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method mapToInt [INFO] Found type 'java.util.function.ToIntFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving method mapToLong [INFO] Found type 'java.util.function.ToLongFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.DoubleSummaryStatistics [INFO] Found type 'java.util.DoubleSummaryStatistics' [INFO] Found type 'java.util.function.DoubleConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.IntSummaryStatistics [INFO] Found type 'java.util.IntSummaryStatistics' [INFO] Found type 'java.util.function.IntConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.LongSummaryStatistics [INFO] Found type 'java.util.LongSummaryStatistics' [INFO] Found type 'java.util.function.LongConsumer' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.BiPredicate [INFO] Found type 'java.util.function.BiPredicate' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.BooleanSupplier [INFO] Found type 'java.util.function.BooleanSupplier' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoubleBinaryOperator [INFO] Found type 'java.util.function.DoubleBinaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoublePredicate [INFO] Found type 'java.util.function.DoublePredicate' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoubleSupplier [INFO] Found type 'java.util.function.DoubleSupplier' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoubleToIntFunction [INFO] Found type 'java.util.function.DoubleToIntFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoubleToLongFunction [INFO] Found type 'java.util.function.DoubleToLongFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.DoubleUnaryOperator [INFO] Found type 'java.util.function.DoubleUnaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntBinaryOperator [INFO] Found type 'java.util.function.IntBinaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntPredicate [INFO] Found type 'java.util.function.IntPredicate' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntSupplier [INFO] Found type 'java.util.function.IntSupplier' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntToDoubleFunction [INFO] Found type 'java.util.function.IntToDoubleFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntToLongFunction [INFO] Found type 'java.util.function.IntToLongFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.IntUnaryOperator [INFO] Found type 'java.util.function.IntUnaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongBinaryOperator [INFO] Found type 'java.util.function.LongBinaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongPredicate [INFO] Found type 'java.util.function.LongPredicate' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongSupplier [INFO] Found type 'java.util.function.LongSupplier' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongToDoubleFunction [INFO] Found type 'java.util.function.LongToDoubleFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongToIntFunction [INFO] Found type 'java.util.function.LongToIntFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.LongUnaryOperator [INFO] Found type 'java.util.function.LongUnaryOperator' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.ToDoubleBiFunction [INFO] Found type 'java.util.function.ToDoubleBiFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.ToIntBiFunction [INFO] Found type 'java.util.function.ToIntBiFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] Resolving java.util.function.ToLongBiFunction [INFO] Found type 'java.util.function.ToLongBiFunction' [INFO] [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface [INFO] [ERROR] An internal compiler exception occurred [INFO] com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit. [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:111) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:276) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118) [INFO] at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:72) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118) [INFO] at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:49) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:88) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:331) [INFO] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:139) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:135) [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:361) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265) [INFO] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:786) [INFO] at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:778) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:1401) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:896) [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1410) [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1222) [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:1140) [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:255) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:255) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:202) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:143) [INFO] at com.google.gwt.dev.Compiler.compile(Compiler.java:204) [INFO] at com.google.gwt.dev.Compiler.compile(Compiler.java:155) [INFO] at com.google.gwt.dev.Compiler.compile(Compiler.java:144) [INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:118) [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:125) [INFO] Caused by: java.lang.UnsupportedClassVersionError: com/l3/client/Injector : Unsupported major.minor version 52.0 [INFO] at java.lang.ClassLoader.defineClass1(Native Method) [INFO] at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [INFO] at java.lang.ClassLoader.defineClass(ClassLoader.java:643) [INFO] at com.google.gwt.inject.rebind.GinBridgeClassLoader.findClass(GinBridgeClassLoader.java:160) [INFO] at com.google.gwt.inject.rebind.GinBridgeClassLoader.loadClass(GinBridgeClassLoader.java:106) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [INFO] at java.lang.Class.forName0(Native Method) [INFO] at java.lang.Class.forName(Class.java:274) [INFO] at com.google.gwt.inject.rebind.GinjectorGenerator.loadClass(GinjectorGenerator.java:223) [INFO] at com.google.gwt.inject.rebind.GinjectorGenerator.getGinjectorType(GinjectorGenerator.java:104) [INFO] at com.google.gwt.inject.rebind.GinjectorGenerator.generate(GinjectorGenerator.java:60) [INFO] at com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40) [INFO] at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:745) [INFO] at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:103) [INFO] at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78) [INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:262) [INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:251) [INFO] at com.google.gwt.dev.PrecompilationContextCreator$1.getAllPossibleRebindAnswers(PrecompilationContextCreator.java:86) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createStaticRebindExpression(UnifyAst.java:519) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createRebindExpression(UnifyAst.java:487) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.maybeHandleMagicMethodCall(UnifyAst.java:415) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.visit(UnifyAst.java:402) [INFO] at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:265) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) [INFO] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) [INFO] ... 40 more [INFO] [ERROR] at Injector.java(19): GWT.create(Injector.class) [INFO] com.google.gwt.dev.jjs.ast.JMethodCall [INFO] [ERROR] at Injector.java(19): (Injector) GWT.create(Injector.class) [INFO] com.google.gwt.dev.jjs.ast.JCastOperation [INFO] [ERROR] at Injector.java(19): final static Injector INSTANCE = (Injector) GWT.create(Injector.class) [INFO] com.google.gwt.dev.jjs.ast.JDeclarationStatement [INFO] [ERROR] at Injector.java(17): { [INFO] final static Injector INSTANCE = (Injector) GWT.create(Injector.class); [INFO] } [INFO] com.google.gwt.dev.jjs.ast.JBlock [INFO] [ERROR] at Injector.java(17): { [INFO] final static Injector INSTANCE = (Injector) GWT.create(Injector.class); [INFO] } [INFO] com.google.gwt.dev.jjs.ast.JMethodBody [INFO] [ERROR] at Injector.java(17): com.l3.client.Injector.$clinit()V [INFO] com.google.gwt.dev.jjs.ast.JMethod [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21.235 s [INFO] Finished at: 2016-11-12T12:07:19+05:30 [INFO] Final Memory: 27M/227M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.8.0:compile (default) on project L3mart: Command [[ [ERROR] /bin/sh -c '/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/bin/java' '-Xmx512m' 'com.google.gwt.dev.Compiler' '-logLevel' 'INFO' '-war' '/Users/aadhaarmehrotra/git/L3Mart/target/L3mart-1.0-SNAPSHOT' '-localWorkers' '4' '-compileReport' '-XfragmentCount' '-1' '-sourceLevel' '1.8' '-extra' '/Users/aadhaarmehrotra/git/L3Mart/target/extra' '-gen' '/Users/aadhaarmehrotra/git/L3Mart/target/.generated' 'com.l3.L3Mart' 'com.l3.Mart' 'com.l3.User' [ERROR] ]] failed with status 1 [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

manolo commented 7 years ago

It seems that your build dependencies are broken, or you are not using the correct stuff. You need java 1.8 gwt 2.8.0 and gwt-polymer 1.7.0.0. Could you attach your pom.xml file ?

aadhaarm commented 7 years ago

Here is my POM. pom.txt The build was fine when I was using gwt 2.7.0, with gwt-polymer 1.1.3.0-alpha1. I am now puzzled if it has compatibility issue between gwt 2.8.0 and other components such as gin 2.1.2, guice 4.1.0, guava 19.0 & gwt-polymer 1.7.0.0 or 1.2.3.0.

aadhaarm commented 7 years ago

I could fix this issue and the build is successful with GWT 2.8.0 and gwt-polymer 1.7.0.0 & java 1.8.

For this I had to use latest guava released version (20.0).

Without it the build error were [INFO] Compiling module com.l3.User [INFO] Ignored 1 unit with compilation errors in first pass. [INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors. [INFO] [ERROR] Errors in 'com/google/common/collect/super/com/google/common/collect/GwtPlatform.java' [INFO] [ERROR] Line 38: The method createFrom(T[], int) is undefined for the type Array [INFO] Tracing compile failure path for type 'com.google.common.collect.GwtPlatform' [INFO] [ERROR] Errors in 'com/google/common/collect/super/com/google/common/collect/GwtPlatform.java' [INFO] [ERROR] Line 38: The method createFrom(T[], int) is undefined for the type Array [INFO] [ERROR] Hint: Your source appears not to live underneath a subpackage called 'client'; no problem, but you'll need to use the <source> directive in your module to make it accessible

Thanks Manuel for helping me with this issue.