org.apache.maven.surefire.booter.SurefireBooterForkException: Error occurred in starting fork, check output in log

Stack Overflow | Srinu | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork

    Stack Overflow | 8 months ago | Srinu
    org.apache.maven.surefire.booter.SurefireBooterForkException: Error occurred in starting fork, check output in log

    Root Cause Analysis

    1. org.apache.maven.surefire.booter.SurefireBooterForkException

      Error occurred in starting fork, check output in log

      at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork()
    2. Maven Surefire Common
      AbstractSurefireMojo.executeAfterPreconditionsChecked
      1. org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:281)
      2. org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:113)
      3. org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:199)
      4. org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAllProviders(AbstractSurefireMojo.java:176)
      5. org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:135)
      5 frames