cancel
Showing results for 
Search instead for 
Did you mean: 

I am getting this exception while creating process engine

rohitagrawal
Champ on-the-rise
Champ on-the-rise
Hi,

I am getting this exception while creating process engine
My jar versions are
slf4j-api 1.7.5
slf4j-jdk 1.5.6
logback core 1.0.6
logback classic 1.0.6


java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.arrayFormat(Ljava/lang/String;[Ljava/lang/ObjectSmiley WinkLorg/slf4j/helpers/FormattingTuple;
   at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:114)
   at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:468)
   at ch.qos.logback.classic.Logger.filterAndLog_1(Logger.java:442)
   at ch.qos.logback.classic.Logger.info(Logger.java:632)
   at org.activiti.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.java:77)
   at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:363)
   at com.amdocs.oss.smallcell.adapter.activiti.TestActivitiTaskProcessorAdapterCreate.setup(TestActivitiTaskProcessorAdapterCreate.java:99)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
   at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
   at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
   at org.testng.internal.Invoker.invokeMethod(Invoker.java:653)
   at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
   at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
   at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
   at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
   at org.testng.TestRunner.privateRun(TestRunner.java:767)
   at org.testng.TestRunner.run(TestRunner.java:617)
   at org.testng.SuiteRunner.runTest(SuiteRunner.java:335)
   at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:330)
   at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
   at org.testng.SuiteRunner.run(SuiteRunner.java:240)
   at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
   at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
   at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
   at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
   at org.testng.TestNG.run(TestNG.java:1057)
   at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
   at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
   at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)



Any ideas.
1 REPLY 1

trademak
Star Contributor
Star Contributor
Are you sure the SLF4j versions are compatible with logback? And why are you using an old version of slf4j-jdk? That should be the same version as the slf4j-api JAR I think.

Best regards,