2012-12-14 40 views
3

分析c sharp項目時出現嵌入式錯誤。 請幫我解決這個問題。嵌入式錯誤:分析c#項目

這裏是我的日誌文件數據。

[INFO] [10:34:52.875] Inside Core CppPlugin.getExtension() 
[INFO] [10:34:53.140] Selected quality profile : [name=Sonar C# Way,language=cs] 

[INFO] [10:34:53.203] Configure maven plugins... 
[INFO] [10:34:53.250] Compare to previous analysis 
[INFO] [10:34:53.296] Compare over 5 days (2012-12-09) 
[INFO] [10:34:53.296] Compare over 30 days (2012-11-14) 
[INFO] ------------------------------------------------------------------------ 
[ERROR] BUILD ERROR 
[INFO] ------------------------------------------------------------------------ 
[INFO] Can not execute Sonar 

Embedded error: org.sonar.plugin.dotnet.coverity.CoveritySensor has unsatisfied 
dependency 'class org.sonar.plugins.csharp.api.MicrosoftWindowsEnvironment' for 
constructor 'public org.sonar.plugin.dotnet.coverity.CoveritySensor(org.sonar.ap 
i.resources.ProjectFileSystem,org.sonar.api.profiles.RulesProfile,org.sonar.plug 
in.dotnet.coverity.CoverityProfileExporter,org.sonar.plugin.dotnet.coverity.Cove 
rityResultParser,org.sonar.plugins.csharp.api.CSharpConfiguration,org.sonar.plug 
ins.csharp.api.MicrosoftWindowsEnvironment)' from org.picocontainer.DefaultPicoC 
[email protected]:178<[Immutable]:[email protected]:2 
42<[Immutable]:[email protected]:47<| 
[INFO] ------------------------------------------------------------------------ 
[INFO] For more information, run Maven with the -e switch 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 36 seconds 
[INFO] Finished at: Fri Dec 14 10:34:53 IST 2012 
[INFO] Final Memory: 19M/38M 
[INFO] ------------------------------------------------------------------------ 

在此先感謝。

回答

1

我不知道你在哪裏得到這個「Sonar Coverity」插件(它不是Sonar Plugins Forge的一部分),但它看起來像你試圖使用這個插件,而你沒有安裝。 NET & C#插件尚未...

+1

是的。我刪除了Coverity插件。現在它的工作很完美。感謝Fabrice –