[Geoserver-devel] [jira] (GEOS-6444) mixed log related library versions in jetty

Carlo Cancellieri created an issue

GeoServer / BugGEOS-6444

mixed log related library versions in jetty

Issue Type:

BugBug

Assignee:

Carlo Cancellieri

Created:

09/Apr/14 9:54 AM

Fix Versions:

2.4.6, 2.5.1

Priority:

MinorMinor

Reporter:

Carlo Cancellieri

Hi all,
I was trying to use the bin package of geoserver which ships a standalone version of jetty but in some cases I’m getting:
java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()Z
which comes from my plugin.
In geoserver we never call this method (isTraceEnabled()) which was added after the 1.4 (http://www.slf4j.org/api/org/slf4j/Logger.html#isTraceEnabled%28%29)
so the problem never throws up.

The wrong library version comes from the jetty package and is located here:
./geoserver-2.4-SNAPSHOT/lib/slf4j-simple-1.0.1.jar

It should be 1.5.8 instead.

Anyhow I think we can just remove it since we are also shipping the slf4j-api, slf4j-log4j12 and the log4j implementation 1.2.14 which is sufficient.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo