sonarqube Package 器在mac for ios中还没有起步

unftdfkk  于 2021-06-29  发布在  Java
关注(0)|答案(0)|浏览(296)

我在做ios应用程序,我试图用fastlane和sonarqube检查代码质量。我也在我的mac电脑上安装了java。
但是,在启动sonarqube Package 时,它还没有开始
控制台日志

a@Apples-MBP macosx-universal-64 % sh sonar.sh console       
Running SonarQube...
wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
jvm 1    | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1    |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
jvm 1    | 
jvm 1    | 2020.12.24 00:10:34 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /Applications/SonarQube/temp
jvm 1    | 2020.12.24 00:10:34 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
jvm 1    | 2020.12.24 00:10:34 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/Applications/SonarQube/elasticsearch]: /Applications/SonarQube/elasticsearch/bin/elasticsearch
jvm 1    | 2020.12.24 00:10:34 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1    | 2020.12.24 00:10:34 INFO  app[][o.e.p.PluginsService] no modules loaded
jvm 1    | 2020.12.24 00:10:34 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
jvm 1    | Unrecognized VM option 'UseConcMarkSweepGC'
jvm 1    | Error: Could not create the Java Virtual Machine.
jvm 1    | Error: A fatal exception has occurred. Program will exit.
jvm 1    | 2020.12.24 00:10:34 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1
jvm 1    | 2020.12.24 00:10:34 INFO  app[][o.s.a.SchedulerImpl] Process[es] is stopped
jvm 1    | 2020.12.24 00:10:34 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
wrapper  | <-- Wrapper Stopped

我的java虚拟机是

a@Apples-MBP macosx-universal-64 %  /usr/libexec/java_home -V
Matching Java Virtual Machines (1):
    1.8.0_201, x86_64:  "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home

/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home

java版本为

a@Apples-MBP macosx-universal-64 % java -version
openjdk version "15.0.1" 2020-10-20
OpenJDK Runtime Environment (build 15.0.1+9)
OpenJDK 64-Bit Server VM (build 15.0.1+9, mixed mode, sharing)
a@Apples-MBP macosx-universal-64 %

有什么建议可以纠正这个错误吗?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题