2013-11-14 41 views
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 

有人可能會在這個問題上告訴我,請。

+0

你已經解決了這個問題?請幫忙 – mounaim

回答

0

您是否在同一臺PC /服務器上安裝了JDK? JAVA_HOME是否在您的環境變量中聲明並添加到PATH中?

那麼sonar-3.7 \ conf \ wrapper.conf呢?你必須找到有什麼樣

wrapper.java.command=java 

wrapper.java.command=%JAVA_HOME%/bin/java 
相關問題