2013-01-05 23 views
-1

分析聲納中的csharp項目時出現錯誤3.1.1
無法執行sonar-maven-plugin。這是我的日誌文件數據。分析csharp項目時sonar-maven-plugin錯誤

[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0:sonar (default-cli) on 
project MyProject: Can not execute Sonar: Error occured while reading Visual Studio files. 
Could not evaluate the expression [email protected]9 on project 
D:\projects\MyProject\src\framework\MyPro\MyPro.csproj: XPathExpressionException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration 
cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration -> [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/MAVE/MojoExecutionException 

請幫我解決這個問題...

+0

您可以指定您正在使用的C#/ .NET插件的哪個版本? –

+0

我正在使用sonar-dotnet-plugin-2.1。 –

+0

不可能,這個版本還沒有發佈呢... –

回答

0

你可能補充說,是搞亂類路徑中一個額外的JAR。你應該嘗試做一個全新的安裝,一切都應該沒問題。