I have a project that builds in 2.6.1 and fails to build in 2.7.0. I have hunted the internet for a good answer but I could find none.
Here is the output from the Maven build:
... Uninteresting Stuff removed
[INFO] Compiling module XXXX
[INFO] Looking for precompiled archives. To disable, use -Dgwt.usearchives=false
[INFO] Loading archived module: jar:file:/C:/Users/3433/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/core/Core.gwtar
...
[INFO] Compiling...
[INFO] Compilation completed in 5,95 seconds
[INFO] Invalid Unit: com.google.gwt.validation.client.impl.BaseGwtConfiguration
[INFO] Invalid Unit: com.google.gwt.validation.client.spi.GwtValidationProvider
... other Invalid Units removed
[INFO] Invalid Unit: com.google.gwt.validation.client.spi.BaseConfigurationState
[INFO] Invalid Unit: java.lang.String
[INFO] Invalid units found: 11
[INFO] Compiling...
[INFO] Compilation completed in 0,04 seconds
[INFO] Added 3762 units to cache since last cleanup.
[INFO] Tracing compile failure path for type 'java.lang.String'
[INFO] Errors in 'jar:file:/C:/Users/3433/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/emul/java/lang/String.java'
[INFO] Line 976: The method getDefault() is undefined for the type Locale
[INFO] Removing invalidated units
[INFO] Wrote 3762 units to persistent cache.
[INFO] Resolving java.util.Locale
[INFO] Found type 'java.util.Locale'
[INFO] [WARN] Unable to resolve supertype java/lang/Object
Many errors removed...
[INFO] Resolving com.google.gwt.core.client.AsyncProvider
[INFO] Found type 'com.google.gwt.core.client.AsyncProvider'
[INFO] [ERROR] Unable to find class java/lang/Object
[INFO] Resolving method get
[INFO] Found type 'com.google.gwt.core.client.Callback'
[INFO] [ERROR] Unable to find class java/lang/Object
Hundreds of similar errors removed
[INFO] Tracing compile failure path for type 'java.lang.Object'
[INFO] [ERROR] Errors in 'file:/usr/local/google/home/dankurka/gwt/user/super/com/google/gwt/emul/java/lang/Object.java'
[INFO] [ERROR] java.lang.String cannot be resolved to a type
What is Dan Kurka's home path doing in my build?
Any ideas?