sonarqube6启动失败

来源:互联网 发布:淘宝网第三方支付平台 编辑:程序博客网 时间:2024/05/01 17:04

在sonarqube官网上下了个插件,放在了extension目录下,结果再次启动sonarqube,命令窗口也没有打印任何有用的信息,这时看到sonarqube目录下的logs目录,进去可以看到sonar.log文件,打开这个文件找到了有用的信息:

ERROR web[][o.a.c.c.C.[.[.[/]] Exception sending context initialized event to listener instance of class org.sonar.server.platform.web.PlatformServletContextListener
org.sonar.api.utils.MessageException: Found two files for the same plugin [javascript]: sonar-javascript-plugin-2.18.0.3454.jar and sonar-javascript-plugin-2.14.jar
2016.12.21 08:33:29 ERROR web[][o.a.c.c.StandardContext] One or more listeners failed to start. Full details will be found in the appropriate container log file
2016.12.21 08:33:29 ERROR web[][o.a.c.c.StandardContext] Context [] startup failed due to previous errors
2016.12.21 08:33:29 WARN  web[][o.a.c.l.WebappClassLoaderBase] The web application [ROOT] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:

java.lang.Object.wait(Native Method)

原因在于我下载了一个javascript插件放在了extension目录下,这也说明sonarqube不区分插件的版本,在同一目录只能有一个插件,否则可能会启动失败!!!


0 0