That seems to be a slf4j version mismatch.

Be sure that you are using slf4j 1.6.4+
And that you are using the same versions of slf4j on the server and your
webapp's WEB-INF/lib.

--
Joakim Erdfelt <[email protected]>
webtide.com <http://www.webtide.com/> - intalio.com/jetty
Expert advice, services and support from from the Jetty & CometD experts
eclipse.org/jetty - cometd.org


On Fri, Aug 15, 2014 at 12:18 PM, Rob Nikander <[email protected]>
wrote:

> Hi,
>
> I've been blissfully ignorant and simply putting jars into lib/ext or the
> app's WEB-INF/lib, but today I hit a problem trying to use Apache Tika. If
> I put the tika jar in lib/ext, Jetty fails to start [1], and I'm wondering
> if it's because the Tika jar has an older version of an slf4j class.
>
> Is this something I can get around with modules? Maybe I can add the tika
> jar but keeps its copy of slf4j classes private to itself?  I remember
> jboss modules doing something like this, but I don't see anything on the
> doc page [2]
>
> thanks,
> Rob
>
> (I'm using Jetty 9.2)
>
> [1]
> java.lang.NoSuchMethodError:
> org.slf4j.helpers.MessageFormatter.arrayFormat(Ljava/lang/String;[Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
>  at
> org.eclipse.jetty.util.log.JettyAwareLogger.log(JettyAwareLogger.java:619)
> at org.eclipse.jetty.util.log.JettyAwareLogger.info
> (JettyAwareLogger.java:314)
>
> [2]
> http://www.eclipse.org/jetty/documentation/current/startup-modules.html
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to