使用SonarQube5.5,maven3.1.1,maven的sonar插件是2.6。在分析项目时报错。
[14:55:05]: [Step 2/2] [main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project dcm: SonarQube is unable to analyze file : 'D:\DCD\01_SourceCode\Builds\32_x86_win\dcm_branches\cgt_commons\src\main\java\com\supermap\cgt\map\BusinessDataDisposeInterface.java': Registering symbol: 'a' twice in the same scope -> [Help 1]
[14:55:05]: [Step 2/2] [main] ERROR org.apache.maven.cli.MavenCli -
[14:55:05]: [Step 2/2] [main] ERROR org.apache.maven.cli.MavenCli - To see the full stack trace of the errors, re-run Maven with the -e switch.
[14:55:05]: [Step 2/2] [main] ERROR org.apache.maven.cli.MavenCli - Re-run Maven using the -X switch to enable full debug logging.
[14:55:05]: [Step 2/2] [main] ERROR org.apache.maven.cli.MavenCli -
[14:55:05]: [Step 2/2] [main] ERROR org.apache.maven.cli.MavenCli - For more information about the errors and possible solutions, please read the following articles:
[14:55:05]: [Step 2/2] [main] ERROR org.apache.maven.cli.MavenCli - [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[14:55:05]: [Step 2/2] Process exited with code 1
望大神解救一下。谢谢