Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-11301

Fix NoClassDefFoundError: org/junit/platform/launcher/core/LauncherFactory after YARN-11269

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      After the Apache Hadoop YARN Timeline Plugin Storage module was upgraded from junit 4 to 5, a compilation error occurred.

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:
      test (default-test) on project hadoop-yarn-server-timeline-pluginstorage: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test failed: java.lang.NoClassDefFoundError: org/junit/platform/launcher/core/LauncherFactory: org.junit.platform.launcher.core.LauncherFactory -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException 

       

      Attachments

        Issue Links

          Activity

            People

              slfan1989 Shilun Fan
              slfan1989 Shilun Fan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: