On Friday, June 16, 2017 at 10:57:53 AM UTC+2, Aliuska Marrero wrote:
Hi Everyone:I am developing a big application in GWT, I started migration of versions, from 2.7 to 2.8.1 and I have some errors that I do not how to solve. I believe is related with dependencies but do not know how to solve it. So any help will be really appreciated.The version with 2.7 is perfectly working.So I am using maven-compiler-plugin like this:<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
<dependencies>
<dependency>
<groupId>com.google.web.bindery</groupId>
<artifactId>requestfactory-apt</artifactId> <version>${gwtVersion}</version> </dependency>
</dependencies>
</plugin>
This is not how you declare annotation processors (it used to work in some old versions of the maven-compiler-plugin, depending on how you configured it, but that was not a feature). Use:
<configuration>
<source>1.8</source>
<target>1.8</target>
<annotationProcessorPaths>
<annotationProcessorPath>
<groupId>com.google.web.bindery</groupId>
<artifactId>requestfactory-apt</artifactId>
<version>${gwtVersion}</version>
</annotationProcessorPath>
</annotationProcessorPaths>
</configuration>
These are errors (compiled with -strict):
[INFO] Tracing compile failure path for type 'com.google.gwt.view.client.DefaultSelectionEventManager' [INFO] [ERROR] Errors in 'jar:file:/home/aliuska/.m2/repository/com/google/gwt/gwt- user/2.8.1/gwt-user-2.8.1.jar! /com/google/gwt/view/client/ DefaultSelectionEventManager. java' [INFO] [ERROR] Line 154: ROOT cannot be resolved or is not a field[INFO] [ERROR] Line 156: ROOT cannot be resolved or is not a field
The only ROOT field in gwt-user is Locale.ROOT (and indeed that matches the lines reported in the error message [1]). You might have a third-party dependency that shadows / reimplements java.util.Locale without that field.
[1] https://github.com/gwtproject/gwt/blob/2.8.1/user/src/com/google/gwt/view/client/DefaultSelectionEventManager.java#L154
this is dependencies tree:
[INFO] +- com.gwtplatform:gwtp-mvp-client:jar:1.6:provided [INFO] | +- com.gwtplatform:gwtp-clients-common:jar:1.6:provided [INFO] | | +- (com.google.gwt:gwt-user:jar:2.8.1:provided - version managed from 2.8.0; omitted for duplicate) [INFO] | | +- (com.google.gwt:gwt-dev:jar:2.8.0:provided - omitted for duplicate)
You have a mix of GWT 2.8.1 and 2.8.0.
Use the following to make sure you get the right versions:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt</artifactId>
<version>${gwtVersion}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
[INFO] | | +- (com.google.gwt.inject:gin:jar:1.5.0:provided - version managed from 2.1.2; omitted for duplicate)
[INFO] | | +- (com.google.inject:guice:jar:3.0:provided - version managed from 3.0-rc2; omitted for duplicate) [INFO] | | \- (com.google.code.findbugs:jsr305:jar:3.0.1:provided - omitted for duplicate) [INFO] | +- com.gwtplatform:gwtp-mvp-shared:jar:1.6:provided [INFO] | | +- (com.gwtplatform:gwtp-clients-common:jar:1.6:provided - omitted for duplicate) [INFO] | | \- (com.google.code.findbugs:jsr305:jar:3.0.1:provided - omitted for duplicate) [INFO] | +- (com.google.gwt:gwt-user:jar:2.8.1:provided - version managed from 2.8.0-beta1; scope managed from compile; omitted for duplicate) [INFO] | +- (com.google.gwt:gwt-dev:jar:2.8.0:compile - scope updated from provided; omitted for duplicate) [INFO] | +- (com.google.gwt.inject:gin:jar:1.5.0:provided - version managed from 2.1.2; omitted for duplicate) [INFO] | +- org.apache.velocity:velocity:jar:1.7:provided [INFO] | | +- (commons-collections:commons-collections:jar:3.2.1:provided - omitted for conflict with 3.2.2) [INFO] | | \- (commons-lang:commons-lang:jar:2.4:compile - scope updated from provided; omitted for duplicate) [INFO] | \- com.google.code.findbugs:jsr305:jar:3.0.1:provided [INFO] +- aleph.engineering:incubator.application:jar:0.0.1- SNAPSHOT:compile [INFO] | \- (aleph.engineering:incubator.domain:jar:0.0.1-SNAPSHOT: compile - omitted for duplicate) [INFO] +- aleph.engineering:incubator.domain:jar:0.0.1-SNAPSHOT: compile [INFO] | +- (javax:javaee-api:jar:7.0:compile - omitted for duplicate) [INFO] | +- org.mongodb.morphia:morphia:jar:1.2.1:compile [INFO] | | +- (org.mongodb:mongo-java-driver:jar:3.3.0:compile - version managed from 3.2.2; omitted for duplicate) [INFO] | | +- (cglib:cglib-nodep:jar:2.1_3:compile - omitted for conflict with 3.1) [INFO] | | \- com.thoughtworks.proxytoys:proxytoys:jar:1.0:compile [INFO] | +- org.mongodb:mongo-java-driver:jar:3.3.0:compile [INFO] | +- org.json:json:jar:20090211:compile [INFO] | +- org.scribe:scribe:jar:1.3.7:compile [INFO] | +- com.google.web.bindery:requestfactory-server:jar:2.8. 1:compile [INFO] | | \- (javax.validation:validation-api:jar:1.1.0.Final:compile - version managed from 1.0.0.GA; omitted for duplicate) [INFO] | +- (org.springframework:spring-context:jar:4.1.6.RELEASE: compile - version managed from 4.3.3.RELEASE; omitted for duplicate)
You are mixing client and server dependencies in the same project; that's a recipe for disaster.
[INFO] | +- com.google.code.gson:gson:jar:2.3.1:compile (version managed from 2.6.2)
GWT uses GSON for sourcemaps, and I believe it won't work with 2.3.1.
[INFO] | \- commons-lang:commons-lang:jar:2.4:compile [INFO] +- javax.validation:validation-api:jar:1.1.0.Final:compile [INFO] +- org.springframework:spring-web:jar:4.3.3.RELEASE:compile [INFO] | +- org.springframework:spring-aop:jar:4.3.3.RELEASE:compile [INFO] | | +- (org.springframework:spring-beans:jar:4.3.3.RELEASE: compile - version managed from 4.1.6.RELEASE; omitted for duplicate) [INFO] | | \- (org.springframework:spring-core:jar:4.3.3.RELEASE:compile - omitted for conflict with 4.1.6.RELEASE) [INFO] | +- (org.springframework:spring-beans:jar:4.3.3.RELEASE: compile - version managed from 4.1.6.RELEASE; omitted for duplicate) [INFO] | +- (org.springframework:spring-context:jar:4.1.6.RELEASE: compile - version managed from 4.3.3.RELEASE; omitted for duplicate) [INFO] | \- org.springframework:spring-core:jar:4.3.3.RELEASE:compile [INFO] | \- commons-logging:commons-logging:jar:1.2:compile [INFO] +- org.springframework:spring-beans:jar:4.3.3.RELEASE: compile [INFO] | \- (org.springframework:spring-core:jar:4.3.3.RELEASE:compile - omitted for duplicate) [INFO] +- org.springframework:spring-context:jar:4.1.6.RELEASE: compile [INFO] | +- (org.springframework:spring-aop:jar:4.1.6.RELEASE:compile - omitted for conflict with 4.3.3.RELEASE) [INFO] | +- (org.springframework:spring-beans:jar:4.3.3.RELEASE: compile - version managed from 4.1.6.RELEASE; omitted for duplicate) [INFO] | +- (org.springframework:spring-core:jar:4.1.6.RELEASE:compile - omitted for conflict with 4.3.3.RELEASE) [INFO] | \- org.springframework:spring-expression:jar:4.1.6.RELEASE: compile [INFO] | \- (org.springframework:spring-core:jar:4.1.6.RELEASE:compile - omitted for conflict with 4.3.3.RELEASE) [INFO] +- org.aspectj:aspectjweaver:jar:1.8.6:compile [INFO] +- com.googlecode.gwtquery:gwtquery:jar:1.5-beta1:compile [INFO] | \- com.google.gwt:gwt-elemental:jar:2.8.0-beta1:compile [INFO] | \- (com.google.gwt:gwt-user:jar:2.8.1:provided - version managed from 2.8.0-beta1; scope managed from compile; omitted for duplicate) [INFO] +- com.google.gwt:gwt-servlet:jar:2.8.1:runtime [INFO] +- javax.servlet:javax.servlet-api:jar:4.0.0-b01:compile [INFO] +- com.google.gwt:gwt-user:jar:2.8.1:provided [INFO] | +- com.google.jsinterop:jsinterop-annotations:jar:1.0. 1:provided [INFO] | +- com.google.jsinterop:jsinterop-annotations:jar: sources:1.0.1:provided [INFO] | +- (javax.validation:validation-api:jar:1.1.0.Final:provided - version managed from 1.0.0.GA; omitted for duplicate) [INFO] | +- javax.validation:validation-api:jar:sources:1.0.0.GA:provi ded [INFO] | +- (javax.servlet:javax.servlet-api:jar:4.0.0-b01:provided - version managed from 3.1.0; omitted for duplicate) [INFO] | \- (org.w3c.css:sac:jar:1.3:compile - scope updated from provided; omitted for duplicate) [INFO] +- junit:junit:jar:4.12:test[INFO] | \- (org.hamcrest:hamcrest-core:jar:1.3:compile - scope updated from test; omitted for duplicate) [INFO] +- javax:javaee-api:jar:7.0:compile [INFO] | \- com.sun.mail:javax.mail:jar:1.5.0:compile [INFO] | \- javax.activation:activation:jar:1.1:compile [INFO] +- com.github.gwtmaterialdesign:gwt-material:jar:2.0-rc5: compile [INFO] | \- com.github.gwtmaterialdesign:gwt-material-jquery:jar:2.0- rc5:compile [INFO] | +- (com.google.gwt:gwt-user:jar:2.8.1:provided - version managed from 2.8.0; scope managed from compile; omitted for duplicate) [INFO] | \- com.google.gwt:gwt-dev:jar:2.8.0:compile
Hmm, gwt-dev in "compile" scope is likely to break your WAR at runtime.
(one more reason to separate client and server code into distinct Maven modules)
...
[INFO] | +- (com.google.code.gson:gson:jar:2.3.1:compile - version managed from 2.6.2; omitted for duplicate) [INFO] | +- org.ow2.asm:asm:jar:5.0.3:compile [INFO] | +- org.ow2.asm:asm-util:jar:5.0.3:compile [INFO] | | \- org.ow2.asm:asm-tree:jar:5.0.3:compile [INFO] | | \- (org.ow2.asm:asm:jar:5.0.3:compile - omitted for duplicate) [INFO] | +- org.ow2.asm:asm-commons:jar:5.0.3:compile [INFO] | | \- (org.ow2.asm:asm-tree:jar:5.0.3:compile - omitted for duplicate) [INFO] | +- colt:colt:jar:1.2.0:compile[INFO] | +- ant:ant:jar:1.6.5:compile[INFO] | +- commons-collections:commons-collections:jar:3.2.2:compile [INFO] | +- commons-io:commons-io:jar:2.4:compile [INFO] | +- com.ibm.icu:icu4j:jar:50.1.1:compile [INFO] | +- tapestry:tapestry:jar:4.0.2:compile [INFO] | +- net.sourceforge.htmlunit:htmlunit:jar:2.21:compile [INFO] | | +- xalan:xalan:jar:2.7.2:compile[INFO] | | | \- xalan:serializer:jar:2.7.2:compile [INFO] | | | \- (xml-apis:xml-apis:jar:1.3.04:compile - omitted for conflict with 1.4.01) [INFO] | | +- (commons-collections:commons-collections:jar:3.2.1:compile - omitted for conflict with 3.2.2) [INFO] | | +- org.apache.commons:commons-lang3:jar:3.4:compile [INFO] | | +- (org.apache.httpcomponents:httpclient:jar:4.4.1:test - version managed from 4.5.1; scope managed from compile; omitted for duplicate) [INFO] | | +- org.apache.httpcomponents:httpmime:jar:4.5.1:compile [INFO] | | | \- (org.apache.httpcomponents:httpclient:jar:4.4.1:test - version managed from 4.5.1; scope managed from compile; omitted for duplicate) [INFO] | | +- commons-codec:commons-codec:jar:1.9:compile [INFO] | | +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.17: compile [INFO] | | +- xerces:xercesImpl:jar:2.11.0:compile [INFO] | | | \- xml-apis:xml-apis:jar:1.4.01:compile [INFO] | | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.22:compile [INFO] | | +- net.sourceforge.cssparser:cssparser:jar:0.9.18:compile [INFO] | | | \- org.w3c.css:sac:jar:1.3:compile [INFO] | | +- (commons-io:commons-io:jar:2.4:compile - omitted for duplicate) [INFO] | | +- (commons-logging:commons-logging:jar:1.2:compile - omitted for duplicate) [INFO] | | \- org.eclipse.jetty.websocket:websocket-client:jar:9.2.13. v20150730:compile [INFO] | | +- (org.eclipse.jetty:jetty-util:jar:9.2.13.v20150730:compile - omitted for conflict with 9.2.14.v20151106) [INFO] | | +- (org.eclipse.jetty:jetty-io:jar:9.2.13.v20150730:compile - omitted for conflict with 9.2.14.v20151106) [INFO] | | \- org.eclipse.jetty.websocket:websocket-common:jar:9.2.13. v20150730:compile [INFO] | | +- org.eclipse.jetty.websocket:websocket-api:jar:9.2.13. v20150730:compile [INFO] | | +- (org.eclipse.jetty:jetty-util:jar:9.2.13.v20150730:compile - omitted for duplicate) [INFO] | | \- (org.eclipse.jetty:jetty-io:jar:9.2.13.v20150730:compile - omitted for duplicate) [INFO] | +- org.eclipse.jetty:jetty-webapp:jar:9.2.14.v20151106: compile [INFO] | | +- org.eclipse.jetty:jetty-xml:jar:9.2.14.v20151106:compile [INFO] | | | \- (org.eclipse.jetty:jetty-util:jar:9.2.14.v20151106:compile - omitted for conflict with 9.2.13.v20150730) [INFO] | | \- org.eclipse.jetty:jetty-servlet:jar:9.2.14.v20151106: compile [INFO] | | \- org.eclipse.jetty:jetty-security:jar:9.2.14.v20151106: compile [INFO] | | \- (org.eclipse.jetty:jetty-server:jar:9.2.14.v20151106: compile - omitted for duplicate) [INFO] | +- org.eclipse.jetty:jetty-servlets:jar:9.2.14.v20151106: compile [INFO] | | +- org.eclipse.jetty:jetty-continuation:jar:9.2.14. v20151106:compile [INFO] | | +- org.eclipse.jetty:jetty-http:jar:9.2.14.v20151106:compile [INFO] | | | \- (org.eclipse.jetty:jetty-util:jar:9.2.14.v20151106:compile - omitted for conflict with 9.2.13.v20150730) [INFO] | | +- org.eclipse.jetty:jetty-util:jar:9.2.14.v20151106:compile [INFO] | | \- org.eclipse.jetty:jetty-io:jar:9.2.14.v20151106:compile [INFO] | | \- (org.eclipse.jetty:jetty-util:jar:9.2.14.v20151106:compile - omitted for duplicate) [INFO] | +- org.eclipse.jetty:jetty-annotations:jar:9.2.14. v20151106:compile [INFO] | | +- org.eclipse.jetty:jetty-plus:jar:9.2.14.v20151106:compile [INFO] | | | +- (org.eclipse.jetty:jetty-webapp:jar:9.2.14.v20151106: compile - omitted for duplicate) [INFO] | | | \- org.eclipse.jetty:jetty-jndi:jar:9.2.14.v20151106:compile [INFO] | | | \- (org.eclipse.jetty:jetty-util:jar:9.2.14.v20151106:compile - omitted for duplicate) [INFO] | | +- (org.eclipse.jetty:jetty-webapp:jar:9.2.14.v20151106: compile - omitted for duplicate) [INFO] | | +- (javax.annotation:javax.annotation-api:jar:1.2:compile - omitted for duplicate) [INFO] | | +- (org.ow2.asm:asm:jar:5.0.1:compile - omitted for conflict with 5.0.3) [INFO] | | \- (org.ow2.asm:asm-commons:jar:5.0.1:compile - omitted for conflict with 5.0.3) [INFO] | \- org.eclipse.jetty:apache-jsp:jar:9.2.14.v20151106:compile [INFO] | +- (org.eclipse.jetty:jetty-util:jar:9.2.14.v20151106:compile - omitted for duplicate) [INFO] | +- org.eclipse.jetty:jetty-server:jar:9.2.14.v20151106: compile [INFO] | | +- (javax.servlet:javax.servlet-api:jar:4.0.0-b01:compile - version managed from 3.1.0; omitted for duplicate) [INFO] | | +- (org.eclipse.jetty:jetty-http:jar:9.2.14.v20151106:compile - omitted for duplicate) [INFO] | | \- (org.eclipse.jetty:jetty-io:jar:9.2.14.v20151106:compile - omitted for duplicate) [INFO] | +- org.eclipse.jetty.toolchain:jetty-schemas:jar:3.1.M0: compile [INFO] | +- (javax.servlet:javax.servlet-api:jar:4.0.0-b01:compile - version managed from 3.1.0; omitted for duplicate) [INFO] | \- org.mortbay.jasper:apache-jsp:jar:8.0.9.M3:compile [INFO] | +- (org.eclipse.jetty.toolchain:jetty-schemas:jar:3.1.M0: compile - omitted for duplicate) [INFO] | \- org.mortbay.jasper:apache-el:jar:8.0.9.M3:compile [INFO] +- com.github.gwtmaterialdesign:gwt-material-addins:jar:2.0- rc5:compile [INFO] | \- (com.github.gwtmaterialdesign:gwt-material:jar:2.0-rc5: compile - omitted for duplicate) [INFO] +- com.github.gwtmaterialdesign:gwt-material-themes:jar:2.0- rc5:compile [INFO] +- org.slf4j:slf4j-log4j12:jar:1.7.12:compile [INFO] | +- org.slf4j:slf4j-api:jar:1.7.12:compile [INFO] | \- log4j:log4j:jar:1.2.17:compile[INFO] +- aleph.engineering:incubator.repositories:jar:0.0.1- SNAPSHOT:compile [INFO] | +- (aleph.engineering:incubator.domain:jar:0.0.1-SNAPSHOT: compile - omitted for duplicate) [INFO] | +- (aleph.engineering:incubator.infrastructure:jar:0.0.1- SNAPSHOT:compile - omitted for duplicate) [INFO] | +- (org.mongodb.morphia:morphia:jar:1.2.1:compile - omitted for duplicate) [INFO] | +- (org.mongodb:mongo-java-driver:jar:3.3.0:compile - version managed from 3.2.2; omitted for duplicate) [INFO] | \- (com.google.web.bindery:requestfactory-server:jar:2.8. 1:compile - omitted for duplicate) [INFO] +- aleph.engineering:incubator.infrastructure:jar:0.0.1- SNAPSHOT:compile [INFO] | +- (log4j:log4j:jar:1.2.17:compile - omitted for duplicate) [INFO] | +- (org.mongodb.morphia:morphia:jar:1.2.1:compile - omitted for duplicate) [INFO] | +- (org.mongodb:mongo-java-driver:jar:3.3.0:compile - version managed from 3.2.2; omitted for duplicate) [INFO] | +- (org.springframework:spring-context:jar:4.1.6.RELEASE: compile - version managed from 4.0.9.RELEASE; omitted for duplicate) [INFO] | +- (aleph.engineering:incubator.domain:jar:0.0.1-SNAPSHOT: compile - omitted for duplicate) [INFO] | +- org.glassfish.jersey.core:jersey-client:jar:2.9.1: compile [INFO] | | +- org.glassfish.jersey.core:jersey-common:jar:2.9.1: compile [INFO] | | | +- (javax.ws.rs:javax.ws.rs-api:jar:2.0:compile - omitted for duplicate) [INFO] | | | +- javax.annotation:javax.annotation-api:jar:1.2:compile [INFO] | | | +- org.glassfish.jersey.bundles.repackaged:jersey-guava:jar:2. 9.1:compile [INFO] | | | +- (org.glassfish.hk2:hk2-api:jar:2.3.0-b05:compile - omitted for duplicate) [INFO] | | | +- (org.glassfish.hk2.external:javax.inject:jar:2.3.0-b05: compile - omitted for duplicate) [INFO] | | | +- (org.glassfish.hk2:hk2-locator:jar:2.3.0-b05:compile - omitted for duplicate) [INFO] | | | \- org.glassfish.hk2:osgi-resource-locator:jar:1.0.1: compile [INFO] | | +- javax.ws.rs:javax.ws.rs-api:jar:2.0:compile [INFO] | | +- org.glassfish.hk2:hk2-api:jar:2.3.0-b05:compile [INFO] | | | +- org.glassfish.hk2:hk2-utils:jar:2.3.0-b05:compile [INFO] | | | \- org.glassfish.hk2.external:aopalliance-repackaged:jar:2. 3.0-b05:compile [INFO] | | +- org.glassfish.hk2.external:javax.inject:jar:2.3.0-b05: compile [INFO] | | \- org.glassfish.hk2:hk2-locator:jar:2.3.0-b05:compile [INFO] | | +- (org.glassfish.hk2.external:javax.inject:jar:2.3.0-b05: compile - omitted for duplicate) [INFO] | | +- (org.glassfish.hk2.external:aopalliance-repackaged:jar:2. 3.0-b05:compile - omitted for duplicate) [INFO] | | +- (org.glassfish.hk2:hk2-api:jar:2.3.0-b05:compile - omitted for duplicate) [INFO] | | +- (org.glassfish.hk2:hk2-utils:jar:2.3.0-b05:compile - omitted for duplicate) [INFO] | | \- org.javassist:javassist:jar:3.18.1-GA:compile [INFO] | +- org.springframework.data:spring-data-redis:jar:1.4.2. RELEASE:compile [INFO] | | +- (org.springframework:spring-context:jar:4.1.6.RELEASE: compile - version managed from 4.0.9.RELEASE; omitted for duplicate) [INFO] | | +- org.springframework:spring-context-support:jar:4.0.9. RELEASE:compile [INFO] | | | +- (org.springframework:spring-beans:jar:4.3.3.RELEASE: compile - version managed from 4.0.9.RELEASE; omitted for duplicate) [INFO] | | | +- (org.springframework:spring-context:jar:4.1.6.RELEASE: compile - version managed from 4.0.9.RELEASE; omitted for duplicate) [INFO] | | | \- (org.springframework:spring-core:jar:4.0.9.RELEASE:compile - omitted for conflict with 4.3.3.RELEASE) [INFO] | | +- org.springframework:spring-tx:jar:4.0.9.RELEASE:compile [INFO] | | | +- (org.springframework:spring-beans:jar:4.3.3.RELEASE: compile - version managed from 4.0.9.RELEASE; omitted for duplicate) [INFO] | | | \- (org.springframework:spring-core:jar:4.0.9.RELEASE:compile - omitted for conflict with 4.3.3.RELEASE) [INFO] | | +- (org.springframework:spring-aop:jar:4.0.9.RELEASE:compile - omitted for conflict with 4.3.3.RELEASE) [INFO] | | +- (org.springframework:spring-core:jar:4.0.9.RELEASE:compile - omitted for conflict with 4.3.3.RELEASE) [INFO] | | \- (org.slf4j:slf4j-api:jar:1.7.5:compile - omitted for conflict with 1.7.12) [INFO] | +- (org.scribe:scribe:jar:1.3.7:compile - omitted for duplicate) [INFO] | +- (com.google.code.gson:gson:jar:2.3.1:compile - version managed from 2.6.2; omitted for duplicate) [INFO] | \- com.googlecode.json-simple:json-simple:jar:1.1.1:compile [INFO] | \- (junit:junit:jar:4.12:test - version managed from 4.10; scope managed from compile; omitted for duplicate)[INFO] +- com.google.inject:guice:jar:3.0:compile [INFO] | +- javax.inject:javax.inject:jar:1:compile [INFO] | \- aopalliance:aopalliance:jar:1.0:compile [INFO] +- org.mockito:mockito-core:jar:1.10.19:test [INFO] | +- (org.hamcrest:hamcrest-core:jar:1.1:test - omitted for conflict with 1.3) [INFO] | \- (org.objenesis:objenesis:jar:2.1:compile - scope updated from test; omitted for duplicate) [INFO] +- org.powermock:powermock-api-mockito:jar:1.6.2:test [INFO] | +- org.mockito:mockito-all:jar:1.10.19:test [INFO] | \- org.powermock:powermock-api-support:jar:1.6.2:test [INFO] | +- org.powermock:powermock-core:jar:1.6.2:test [INFO] | | +- (org.powermock:powermock-reflect:jar:1.6.2:test - omitted for duplicate) [INFO] | | \- (org.javassist:javassist:jar:3.19.0-GA:test - omitted for conflict with 3.18.1-GA) [INFO] | \- org.powermock:powermock-reflect:jar:1.6.2:test [INFO] | \- (org.objenesis:objenesis:jar:2.1:test - omitted for duplicate) [INFO] +- org.powermock:powermock-module-junit4:jar:1.6.2:test [INFO] | +- (junit:junit:jar:4.12:test - version managed from 4.10; scope managed from compile; omitted for duplicate)[INFO] | \- org.powermock:powermock-module-junit4-common:jar:1.6. 2:test [INFO] | +- (junit:junit:jar:4.12:test - version managed from 4.4; scope managed from compile; omitted for duplicate)[INFO] | +- (org.powermock:powermock-core:jar:1.6.2:test - omitted for duplicate) [INFO] | \- (org.powermock:powermock-reflect:jar:1.6.2:test - omitted for duplicate) [INFO] +- com.google.gwt.inject:gin:jar:1.5.0:compile [INFO] | +- (com.google.inject:guice:jar:3.0:compile - version managed from 3.0-rc2; omitted for duplicate) [INFO] | +- com.google.inject.extensions:guice-assistedinject:jar:3.0- rc2:compile [INFO] | | \- (com.google.inject:guice:jar:3.0:compile - version managed from 3.0-rc2; omitted for duplicate) [INFO] | \- (com.google.gwt:gwt-servlet:jar:2.8.1:runtime - version managed from 2.2.0; scope managed from provided; omitted for duplicate) [INFO] +- org.atmosphere:gwtprojsonserializer:jar:1.0. 0:compile [INFO] | +- (com.google.gwt:gwt-servlet:jar:2.8.1:runtime - version managed from 2.4.0; scope managed
Double/triple-check your dependencies and their scopes.
Split your project into separate client and server (and shared) modules with appropriate dependencies to avoid unnecessary conflicts.
And chase that third-party dependency that's breaking your java.util.Locale emulation (set GWT's logLevel to TRACE or DEBUG and dig in the –huge– logs; or follow all your <inherits/> and look for the <super-source/>, and or course check for duplicate classes/resources in all your dependencies)
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment