简体   繁体   English

未知错误-声纳蚀插件

[英]Unknown error - sonar eclipse plugin

I have installed the sonar eclipse plugin in eclipse Juno. 我已经在Eclipse Juno中安装了声纳eclipse插件。 I put the groupid and the artifactid into the proper lines, however I get an error: 我将groupid和artifactid放在正确的行中,但是出现错误:

Unknown exception 未知异常

How to configure the sonar plugin properly in eclipse? 如何在Eclipse中正确配置声纳插件?

在此处输入图片说明

You need to install Sonar on a server (or run it on your machine for testing). 您需要在服务器上安装Sonar(或在计算机上运行Sonar进行测试)。 Then you need to configure it in the Eclipse properties and choose it from the drop-down in the associate with sonar dialog (unless it runs on your machine, in which case it is already available from the drop down). 然后,您需要在Eclipse属性中对其进行配置,并从与声纳关联对话框的下拉列表中进行选择(除非它在您的计算机上运行,​​在这种情况下,该下拉列表中已经可用)。

Before you can associate a project with sonar, you need to run the sonar analysis on that project (usually using maven). 在将项目与声纳关联之前,您需要在该项目上运行声纳分析(通常使用maven)。 Take a look at the sonar documentation to get more information. 查看声纳文档以获取更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM