2

私がいるプロジェクトでは、システムの SONAR テストを評価しています。Sonar Eclipse プラグインをダウンロードしました。Maven で述べています。最後に、3.7 Sonar 小型サーバーをダウンロードしました。

sonar-3.7\bin\windows-x86-64

StartSonar.bat を実行すると、コンソールに次のエラーが表示されます。

STATUS | wrapper  | 2013/11/14 10:26:55 | --> Wrapper Started as Console
STATUS | wrapper  | 2013/11/14 10:26:55 | Launching a JVM...
INFO   | jvm 1    | 2013/11/14 10:26:56 | Unrecognized VM option '+HeapDumpOnOutOfMemoryError'
INFO   | jvm 1    | 2013/11/14 10:26:56 | Could not create the Java virtual machine.
ERROR  | wrapper  | 2013/11/14 10:26:56 | JVM exited while loading the application.
STATUS | wrapper  | 2013/11/14 10:27:00 | Launching a JVM...
INFO   | jvm 2    | 2013/11/14 10:27:00 | Unrecognized VM option '+HeapDumpOnOutOfMemoryError'
INFO   | jvm 2    | 2013/11/14 10:27:00 | Could not create the Java virtual machine.
ERROR  | wrapper  | 2013/11/14 10:27:00 | JVM exited while loading the application.
STATUS | wrapper  | 2013/11/14 10:27:04 | Launching a JVM...
INFO   | jvm 3    | 2013/11/14 10:27:04 | Unrecognized VM option '+HeapDumpOnOutOfMemoryError'
INFO   | jvm 3    | 2013/11/14 10:27:04 | Could not create the Java virtual machine.
ERROR  | wrapper  | 2013/11/14 10:27:04 | JVM exited while loading the application.
STATUS | wrapper  | 2013/11/14 10:27:08 | Launching a JVM...
INFO   | jvm 4    | 2013/11/14 10:27:08 | Unrecognized VM option '+HeapDumpOnOutOfMemoryError'
INFO   | jvm 4    | 2013/11/14 10:27:08 | Could not create the Java virtual machine.
ERROR  | wrapper  | 2013/11/14 10:27:08 | JVM exited while loading the application.
STATUS | wrapper  | 2013/11/14 10:27:13 | Launching a JVM...
INFO   | jvm 5    | 2013/11/14 10:27:13 | Unrecognized VM option '+HeapDumpOnOutOfMemoryError'
INFO   | jvm 5    | 2013/11/14 10:27:13 | Could not create the Java virtual machine.
ERROR  | wrapper  | 2013/11/14 10:27:13 | JVM exited while loading the application.
FATAL  | wrapper  | 2013/11/14 10:27:13 | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.
FATAL  | wrapper  | 2013/11/14 10:27:13 |   There may be a configuration problem: please check the logs.
STATUS | wrapper  | 2013/11/14 10:27:13 | <-- Wrapper Stopped

誰かがこの問題について私にアドバイスしてください。

4

1 に答える 1

0

同じ PC/サーバーに JDK をインストールしましたか? JAVA_HOME が環境変数で宣言され、 PATH に追加されていますか?

sonar-3.7\conf\wrapper.conf はどうですか? あなたはそこに何かを見つける必要があります

wrapper.java.command=java

また

wrapper.java.command=%JAVA_HOME%/bin/java
于 2013-11-15T11:05:21.307 に答える