Could not find container provider SPI that implements

I was trying to run the tests in and I got this error and it basically failed to run all tests. What does this mean and how can I fix it?

java.lang.RuntimeException: Could not find container provider SPI that implements

at org.junit.rules.RunRules.applyAll(
at org.junit.rules.RunRules.<init>(
at org.junit.runners.ParentRunner.withClassRules(
at org.junit.runners.ParentRunner.classBlock(
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(
at com.intellij.rt.execution.junit.JUnitStarter.main(

Could you please give us more details about your setup:

  • camunda verion
  • db
  • how do you run the tests and so on
1 Like

Thank you for your reply @Yana.

I use the current version which I downloaded form github and imported to Intellij as a maven project. I assume it uses the default h2 database. For running the tests of a specific class only I use the following button where I get the error.

I eventually ran all the tests by running the pom of engine-rest and then I ran the individually which did not produce any errors.