I went through all my dependencies for a thousand times and checked with mvn dependency:tree and m2e Dependency Hierarchie. Also in Eclipse when I open the Type org.slf4j.Logger[Factory] there is only the one from 1.7.6. However when I debug some other version from an unlocatable source is loaded magically via some GWT classloader shading that I can not track down. I see the sourcecode of 1.7.6. LoggerFactory but this does not fit to the code actually running and my debugger ist stepping inside javadoc statements. Output of mvn dependency:resolve does not reveal any enlightment:
[INFO] ------------------------------------------------------------------------ [INFO] Building app-war 1.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-dependency-plugin:2.8:resolve (default-cli) @ mmm-app-war --- [INFO] [INFO] The following files have been resolved: [INFO] net.sf.m-m-m:mmm-client-ui-core-api:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-service-base:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-app-core-client:jar:sources:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-client-ui-gwt-widgets:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-util-backport-java.util.function:jar:1.0.1:compile [INFO] com.google.gwt:gwt-dev:jar:2.6.0:provided [INFO] net.sf.m-m-m:mmm-client-ui-core-api:jar:sources:1.0.0-SNAPSHOT:compile [INFO] org.hamcrest:hamcrest-core:jar:1.1:test [INFO] com.google.gwt:gwt-codeserver:jar:2.6.0:provided [INFO] net.sf.m-m-m:mmm-service-impl-gwt:jar:sources:1.0.0-SNAPSHOT:compile [INFO] com.google.inject:guice:jar:3.0:compile [INFO] net.sf.m-m-m:mmm-client-ui-dialog-api:jar:sources:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-util-core:jar:4.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-data-api:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-client-impl-gwt:jar:sources:1.0.0-SNAPSHOT:compile [INFO] com.google.gwt:gwt-user:jar:2.6.0:compile [INFO] net.sf.m-m-m:mmm-util-backport-java.time-tzdb:jar:1.0.0:compile [INFO] net.sf.m-m-m:mmm-client-ui-widget-impl-web-gwt:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-client-ui-theme-standard:jar:sources:1.0.0-SNAPSHOT:compile [INFO] org.hibernate:hibernate-validator:jar:4.2.0.Final:compile [INFO] org.slf4j:slf4j-api:jar:1.7.6:compile [INFO] junit:junit:jar:4.10:test [INFO] net.sf.m-m-m:mmm-security-api:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-util-gwt:jar:sources:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-client-impl-gwt:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-util-backport-java.time:jar:sources:1.0.0:compile [INFO] net.sf.m-m-m:mmm-app-core-client:jar:1.0.0-SNAPSHOT:compile [INFO] commons-logging:commons-logging:jar:1.1.3:compile [INFO] net.sf.m-m-m:mmm-app-main-server:jar:1.0.0-SNAPSHOT:compile [INFO] org.springframework:spring-beans:jar:4.0.2.RELEASE:compile [INFO] net.sf.m-m-m:mmm-transaction-api:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-app-main-shared:jar:sources:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-client-ui-dialog-api:jar:1.0.0-SNAPSHOT:compile [INFO] com.allen-sauer.gwt.log:gwt-log:jar:3.1.7:compile [INFO] net.sf.m-m-m:mmm-persistence-api:jar:1.0.0-SNAPSHOT:compile [INFO] org.slf4j:slf4j-api:jar:sources:1.7.6:compile [INFO] net.sf.m-m-m:mmm-service-api:jar:sources:1.0.0-SNAPSHOT:compile [INFO] aopalliance:aopalliance:jar:1.0:compile [INFO] net.sf.m-m-m:mmm-client-api:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-l10n-fr:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-app-core-shared:jar:sources:1.0.0-SNAPSHOT:compile [INFO] org.springframework:spring-context:jar:4.0.2.RELEASE:compile [INFO] com.google.gwt.inject:gin:jar:2.0.0:compile [INFO] net.sf.m-m-m:mmm-client-api:jar:sources:1.0.0-SNAPSHOT:compile [INFO] org.springframework:spring-expression:jar:4.0.2.RELEASE:compile [INFO] org.springframework:spring-web:jar:4.0.2.RELEASE:compile [INFO] net.sf.m-m-m:mmm-service-base:jar:sources:1.0.0-SNAPSHOT:compile [INFO] ch.qos.logback:logback-classic:jar:1.1.1:compile [INFO] net.sf.m-m-m:mmm-client-ui-widget-impl-web-gwt:jar:sources:1.0.0-SNAPSHOT:compile [INFO] c3p0:c3p0:jar:0.9.1.2:test [INFO] net.sf.m-m-m:mmm-client-ui-widget-base:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-client-ui-dialog-impl-gwt:jar:sources:1.0.0-SNAPSHOT:compile [INFO] javax.annotation:jsr250-api:jar:1.0:compile [INFO] net.sf.m-m-m:mmm-app-core-shared:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-client-ui-widget-api:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-client-ui-widget-api:jar:sources:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-l10n-de:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-client-ui-theme-standard:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-test:jar:0-SNAPSHOT:test [INFO] org.springframework:spring-aop:jar:4.0.2.RELEASE:compile [INFO] org.apache.geronimo.specs:geronimo-servlet_3.0_spec:jar:1.0:compile [INFO] net.sf.m-m-m:mmm-app-main-client:jar:1.0.0-SNAPSHOT:compile [INFO] javax.validation:validation-api:jar:sources:1.0.0.GA:compile [INFO] org.json:json:jar:20090211:compile [INFO] net.sf.m-m-m:mmm-service-api:jar:1.0.0-SNAPSHOT:compile [INFO] ch.qos.logback:logback-core:jar:1.1.1:compile [INFO] org.springframework:spring-webmvc:jar:4.0.2.RELEASE:compile [INFO] net.sf.m-m-m:mmm-client-ui-widget-base:jar:sources:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-service-impl-gwt:jar:1.0.0-SNAPSHOT:compile [INFO] org.springframework:spring-tx:jar:4.0.2.RELEASE:compile [INFO] javax.inject:javax.inject:jar:1:compile [INFO] org.hibernate:hibernate-validator:jar:sources:4.2.0.Final:compile [INFO] net.sf.m-m-m:mmm-transaction-impl-spring:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-client-ui-dialog-impl-gwt:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-client-ui-gwt-widgets:jar:sources:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-util-core:jar:sources:4.0.0-SNAPSHOT:compile [INFO] org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final:test [INFO] org.springframework:spring-test:jar:4.0.2.RELEASE:test [INFO] net.sf.m-m-m:mmm-app-main-client:jar:sources:1.0.0-SNAPSHOT:compile [INFO] javax.validation:validation-api:jar:1.0.0.GA:compile [INFO] net.sf.m-m-m:mmm-app-main-shared:jar:1.0.0-SNAPSHOT:compile [INFO] org.springframework:spring-core:jar:4.0.2.RELEASE:compile [INFO] net.sf.m-m-m:mmm-util-datatype:jar:sources:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-util-datatype:jar:1.0.0-SNAPSHOT:compile [INFO] net.sf.m-m-m:mmm-util-backport-java.time:jar:1.0.0:compile [INFO] com.h2database:h2:jar:1.3.160:test [INFO] net.sf.m-m-m:mmm-util-gwt:jar:1.0.0-SNAPSHOT:compile [INFO] com.google.inject.extensions:guice-assistedinject:jar:3.0:compile [INFO] net.sf.m-m-m:mmm-l10n-ALL:pom:1.0.0-SNAPSHOT:compile [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ As a workaround I added getLogger().isXXXenabled() conditions to all my initializing log statements and configured logback.xml so that every level below error is temporary disabled. Then I can start again but every service call is then causing the same problem and I do not plan to make if conditions around every log statement of my entire project what is against the design of slf4j. Maybe I have to use -noserver option and start my server in a separate container. However, last time I tried, I failed due to serialization policy trouble. Thanks for the SDM hints. The documentation about this is extremely poor and I did not get it. However in maven the classpath is set correctly and it works/worked in DevMode. Is there any toolsupport available for eclipse or do I have to add the sources of all the modules (>20) manually and maintain them besides my POM files in my Eclipse launch config? Also thanks for the hint of gwt-maven-plugin. However, I have not pushed for weeks as I am in a large refactoring and want to complete a consistent state. Locally I have already fixed this. Anyways this should IMHO not interfere with my testings in Eclipse. Thanks & regards Jörg Am Montag, 7. April 2014 23:58:51 UTC+2 schrieb Jens: > > For your first problem in DevMode: > > GWT 2.6 uses Jetty 8 which is compiled against slf4j-api-1.6.x. Also GWT's > svn repository, that stores all 3rd party libraries, only > contains slf4j-api-1.6.1 and slf4j-log4j12-1.6.1. > > So I would assume something in your maven project provides a 1.5.x > binding. Does mvn dependency:resolve show anything? > > > For your SDM problem: > > You must make sure that your project's class AND source files are > available to SDM. From command line you would launch SDM using > > java -classpath <project class files>:<project libs>:<gwt sdk + > codeserver.jar> com.google.gwt.dev.codeserver.CodeServer -src <project > source> <module name> > > If you forget the -src parameter I think you get the error message you are > seeing. So I would assume its a maven / pom issue. > > > Speaking of Maven: > > it seems like your pom still references gwt-maven-plugin version 2.5.1 > although you are using GWT 2.6. Maybe you should change that. > > https://github.com/m-m-m/mmm/blob/master/pom.xml#L335 > > > -- J. > > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.