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条回答

    报告相同问题?

    悬赏问题

    • ¥50 易语言把MYSQL数据库中的数据添加至组合框
    • ¥20 求数据集和代码#有偿答复
    • ¥15 关于下拉菜单选项关联的问题
    • ¥20 java-OJ-健康体检
    • ¥15 rs485的上拉下拉,不会对a-b<-200mv有影响吗,就是接受时,对判断逻辑0有影响吗
    • ¥15 使用phpstudy在云服务器上搭建个人网站
    • ¥15 应该如何判断含间隙的曲柄摇杆机构,轴与轴承是否发生了碰撞?
    • ¥15 vue3+express部署到nginx
    • ¥20 搭建pt1000三线制高精度测温电路
    • ¥15 使用Jdk8自带的算法,和Jdk11自带的加密结果会一样吗,不一样的话有什么解决方案,Jdk不能升级的情况