At first, i am new to stackoverflow and try my best to provide all information to you, that might help you help me solve my problem.
I found some similar questions on this site, but none of them helped me solve my problem.
I'm running a GWT project with GXT. For this i am using Eclipse JavaEE Juno with Maven.
When i just run the application in Eclipse everything is fine, but when i try to build a war using Maven with package as goal i get the following message
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
but it works nevertheless.
I think the problem is that no implementation of the binder could be found. Here is a snippet from my pom.xml
<properties>
<gwtVersion>2.5.0</gwtVersion>
<gwt-log.version>3.2.1</gwt-log.version>
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
<hibernate.version>3.6.9.Final</hibernate.version>
<gwt-dnd.version>3.2.2</gwt-dnd.version>
<htmlcleaner.version>2.2</htmlcleaner.version>
<commons-codec.version>1.7</commons-codec.version>
<commons-fileupload.version>1.2.2</commons-fileupload.version>
<gxt.version>3.0.0</gxt.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<slf4jVersion>1.7.5</slf4jVersion>
</properties>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4jVersion}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4jVersion}</version>
</dependency>
These are the ones recommended in the manual (http://www.slf4j.org/manual.html), if i want to use slf4j and log4j
As it only happens, when i build the war, i think it could have to sth. to do with the scope, but i don't know.
Hope you can help me, thanks in advance.