通过mvn install命令创建jar文件
将jar文件复制到sonarqube-5.6.6 / extensions / plugins /
现在,在尝试启动声纳服务器时,它会停止并显示以下消息:
运行SonarQube ...
包装| - >包装器作为控制台启动 包装|启动JVM ...
jvm 1 |包装(版本3.2.3)http://wrapper.tanukisoftware.org
jvm 1 |版权所有1999-2006 Tanuki Software,Inc。保留所有权利。
jvm 1 |
jvm 1 | 2017.11.29 22:17:20 INFO app [o.s.a.AppFileSystem]清理或创建临时目录/ home / sd2labs / mycomputer / sonarqube-5.6.6 / temp
jvm 1 | 2017.11.29 22:17:20 INFO app [ospmJavaProcessLauncher]启动进程[es]:/ usr / lib / jvm / java-8-openjdk-amd64 / jre / bin / java -Djava.awt.headless = true -Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack = true -XX:+ UseParNewGC -XX:+ UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction = 75 -XX:+ UseCMSInitiatingOccupancyOnly -XX:+ HeapDumpOnOutOfMemoryError -Djava.io.tmpdir = / home / sd2labs / mycomputer / sonarqube-5.6.6 / temp -javaagent:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/management-agent.jar -cp ./lib/common/:。/ lib / search / org.sonar.search.SearchServer /home/sd2labs/mycomputer/sonarqube-5.6.6/temp/ sq-process8688307264383931251properties
jvm 1 | 2017.11.29 22:17:28 INFO app [o.s.p.m.Monitor]流程[es]已上架 jvm 1 | 2017.11.29 22:17:28 INFO app [ospmJavaProcessLauncher]启动进程[web]:/ usr / lib / jvm / java-8-openjdk-amd64 / jre / bin / java -Djava.awt.headless = true -Dfile .encoding = UTF-8 -Djruby.management.enabled = false -Djruby.compile.invokedynamic = false -Xmx512m -Xms128m -XX:+ HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack = true -Djava.io.tmpdir = / home / sd2labs /mycomputer/sonarqube-5.6.6/temp -javaagent:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/management-agent.jar -cp ./lib/common/ : /lib/server/:/home/sd2labs/mycomputer/sonarqube-5.6.6/lib/jdbc/mysql/mysql-connector-java-5.1.35.jar org.sonar.server.app.WebServer / home / sd2labs / mycomputer / sonarqube-5.6.6 / temp / sq-process1772881744825311451properties
jvm 1 | 2017.11.29 22:17:33 INFO app [o.s.p.m.Monitor]进程[es]正在停止
jvm 1 | 2017.11.29 22:17:34 INFO app [o.s.p.m.Monitor]进程[es]停止发货 包装| < - Wrapper Stopped
我做错了什么?
答案 0 :(得分:1)
很可能你的/ extensions / plugins /中有2个SonarJS插件版本。删除您不需要的(默认提供的那个)