Hello,
I am attempting to run the akka script for microkernel 1.2, but I'm
running into an slf4j version mismatch. I've read the stacktrace as
well as the link it contains to the slf4j site where it describes the
problem...I understand the why but I'm a bit unsure how to go about
resolving this issue.
I apologize if this is a re-post of a common problem, I ran multiple
searches but couldn't find the answer.
I've included the stack trace below.
Thank you!
==============================================================================
Running version 1.2
==============================================================================
Starting Akka...
SLF4J: The requested version 1.5.8 by your slf4j binding is not
compatible with [1.6]
SLF4J: See
http://www.slf4j.org/codes.html#version_mismatch for
further details.
Exception in thread "main" java.lang.NoSuchMethodError:
org.slf4j.helpers.MessageFormatter.arrayFormat(Ljava/lang/String;
[Ljava/lang/Object;)Ljava/lang/String;
at org.slf4j.impl.Log4jLoggerAdapter.debug(Log4jLoggerAdapter.java:
267)
at org.eclipse.jetty.util.log.Slf4jLog.debug(Slf4jLog.java:70)
at org.eclipse.jetty.util.log.Log.initialized(Log.java:80)
at org.eclipse.jetty.util.log.Log.isDebugEnabled(Log.java:228)
at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:202)
at
org.eclipse.jetty.xml.XmlConfiguration.<init>(XmlConfiguration.java:
144)
at akka.http.EmbeddedAppServer$class.onLoad(EmbeddedAppServer.scala:
43)
at akka.kernel.Kernel$$anon$1.akka$actor$BootableActorLoaderService$
$super$onLoad(Kernel.scala:31)
at akka.actor.BootableActorLoaderService
$class.onLoad(BootableActorLoaderService.scala:49)
at akka.kernel.Kernel$$anon$1.akka$remote$BootableRemoteActorService$
$super$onLoad(Kernel.scala:31)
at akka.remote.BootableRemoteActorService
$class.onLoad(BootableRemoteActorService.scala:28)
at akka.kernel.Kernel$$anon$1.akka$camel$CamelService$$super
$onLoad(Kernel.scala:31)
at akka.camel.CamelService$class.onLoad(CamelService.scala:39)
at akka.kernel.Kernel$$anon$1.onLoad(Kernel.scala:31)
at akka.util.AkkaLoader$$anonfun$boot$1.apply$mcV$sp(AkkaLoader.scala:
27)
at akka.util.Switch.liftedTree1$1(LockUtil.scala:126)
at akka.util.Switch.transcend(LockUtil.scala:125)
at akka.util.Switch.switchOn(LockUtil.scala:138)
at akka.util.AkkaLoader.boot(AkkaLoader.scala:24)
at akka.kernel.Kernel$.boot(Kernel.scala:31)
at akka.kernel.Main$.main(Kernel.scala:19)
at akka.kernel.Main.main(Kernel.scala)
[ERROR] [1/22/12 9:23 AM] [main] [Switch]
org.slf4j.helpers.MessageFormatter.arrayFormat(Ljava/lang/String;
[Ljava/lang/Object;)Ljava/lang/String;
java.lang.NoSuchMethodError:
org.slf4j.helpers.MessageFormatter.arrayFormat(Ljava/lang/String;
[Ljava/lang/Object;)Ljava/lang/String;
at org.slf4j.impl.Log4jLoggerAdapter.debug(Log4jLoggerAdapter.java:
267)
at org.eclipse.jetty.util.log.Slf4jLog.debug(Slf4jLog.java:70)
at org.eclipse.jetty.util.log.Log.initialized(Log.java:80)
at org.eclipse.jetty.util.log.Log.isDebugEnabled(Log.java:228)
at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:202)
at
org.eclipse.jetty.xml.XmlConfiguration.<init>(XmlConfiguration.java:
144)
at akka.http.EmbeddedAppServer$class.onLoad(EmbeddedAppServer.scala:
43)
at akka.kernel.Kernel$$anon$1.akka$actor$BootableActorLoaderService$
$super$onLoad(Kernel.scala:31)
at akka.actor.BootableActorLoaderService
$class.onLoad(BootableActorLoaderService.scala:49)
at akka.kernel.Kernel$$anon$1.akka$remote$BootableRemoteActorService$
$super$onLoad(Kernel.scala:31)
at akka.remote.BootableRemoteActorService
$class.onLoad(BootableRemoteActorService.scala:28)
at akka.kernel.Kernel$$anon$1.akka$camel$CamelService$$super
$onLoad(Kernel.scala:31)
at akka.camel.CamelService$class.onLoad(CamelService.scala:39)
at akka.kernel.Kernel$$anon$1.onLoad(Kernel.scala:31)
at akka.util.AkkaLoader$$anonfun$boot$1.apply$mcV$sp(AkkaLoader.scala:
27)
at akka.util.Switch.liftedTree1$1(LockUtil.scala:126)
at akka.util.Switch.transcend(LockUtil.scala:125)
at akka.util.Switch.switchOn(LockUtil.scala:138)
at akka.util.AkkaLoader.boot(AkkaLoader.scala:24)
at akka.kernel.Kernel$.boot(Kernel.scala:31)
at akka.kernel.Main$.main(Kernel.scala:19)
at akka.kernel.Main.main(Kernel.scala)