tdtaw 2013-12-13 06:52
浏览 1685

在linnx环境下shell触发sonar进行项目的原码分析出现异常,求解惑

在我已配置的环境中前几次进行触发sonar分析服务没有问题,但最近不知道是不是服务器停过电,服务以外终止运行了,现再启动后再次触发分析服务,就出现了异常,错位内容提示如下:
[ERROR] [11:33:10.265] It looks like an analysis of 'talkyun tone v2.0.0-SNAPSHOT' is already running (started about a month ago). If this is not the case, it probably means that previous analysis was interrupted and you should then force a re-run by using the option 'sonar.forceAnalysis=true'.
[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.1:sonar (default-cli) on project tone-all: Can not execute SonarQube analysis: The project is already been analysing. -> [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/MAVEN/MojoExecutionException
########mvn sonar:sonar failed!!!########

在错误代码中我遇到两个疑问?第一:它的描述talkyun tone v2.0.0-SNAPSHOT工程一个月前进行了分析,这啥意思?难道一个工程只能分析一次,显然不是,我直接无视了这个描述,
第二:它提示你可能是上次分析意外中断了,建议强制执行sonar.forceAnalysis=true,我试了下,没有反应,错误依旧,我茫然了

  • 写回答

0条回答

    报告相同问题?

    悬赏问题

    • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
    • ¥15 数据可视化Python
    • ¥15 要给毕业设计添加扫码登录的功能!!有偿
    • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
    • ¥15 微信公众号自制会员卡没有收款渠道啊
    • ¥15 stable diffusion
    • ¥100 Jenkins自动化部署—悬赏100元
    • ¥15 关于#python#的问题:求帮写python代码
    • ¥20 MATLAB画图图形出现上下震荡的线条
    • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘