Unable to load component class - org.sonar.scanner.phases.AbstractPhaseExecutor, org.sonar.scanner.issue.ignore.scanner.IssueExclusionsLoader

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this
  1. sonar qube 7.5, sonar-scanner- , plugin -2.9 , apache-maven-3.6.1

  2. We are trying to exclude the source file in sonar qube 7.5, but we got an issue as below
    “[INFO] ------------------------------------------------------------------------
    Waiting for Jenkins to finish collecting data
    [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin: (default-cli) on project 4897PLM_BSC_Flex_Sportmaster: Unable to load component class org.sonar.scanner.phases.AbstractPhaseExecutor: Unable to load component class org.sonar.scanner.issue.ignore.scanner.IssueExclusionsLoader: Illegal/unsupported escape sequence near index 4
    [ERROR] src\main\java\com\sportmaster\wc\helper\SMUtill.java
    [ERROR] ^
    [ERROR] -> [Help 1]
    [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] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
    [JENKINS] Archiving D:\JenkinsHome\jobs\4897PLM_BSC_Flex_Sportmaster\workspace\pom.xml to com/4897PLM_BSC_Flex_Sportmaster/1.0/4897PLM_BSC_Flex_Sportmaster-1.0.pom
    [JENKINS] Archiving D:\JenkinsHome\jobs\4897PLM_BSC_Flex_Sportmaster\workspace\target\4897PLM_BSC_Flex_Sportmaster-1.0.jar to com/4897PLM_BSC_Flex_Sportmaster/1.0/4897PLM_BSC_Flex_Sportmaster-1.0.jar”
    which is attached in the logs

  3. tried excluding files from pom.xml, but that doesn’t helped.consoleText.txt (6.2 KB)


This is about the content of your exclusion. Can you share it here?