SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". error on jenkins only

58 views
Skip to first unread message

80Vikram

unread,
May 2, 2016, 10:55:54 AM5/2/16
to Jenkins Users
Hi All,

I'm trying to run jenkins job which works perfectly locally with below pom.xml

<properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <serenity.version>1.1.31</serenity.version>
        <serenity.maven.version>1.1.31</serenity.maven.version>
        <serenity.cucumber.version>1.1.6</serenity.cucumber.version>
    </properties>


 <dependency>
           <groupId>org.slf4j</groupId>
           <artifactId>slf4j-api</artifactId>
           <version>1.7.21</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <version>1.6.4</version>
        </dependency>
        <dependency>


also tried with

<dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <version>1.7.7</version>
        </dependency>


but failing while running through jenkins with error

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.


Per this tried to fix but didn't help.

I'm not understanding what's happening wrt Jenkins.

Kindly help

Thanks,
Vikram
Reply all
Reply to author
Forward
0 new messages