2013-02-07 76 views
4

我正在使用eclipse 4.2發行版,並已安裝Springource的gradle eclipse集成插件。gradle eclipse集成 -

當我最初嘗試使用該向導創建我收到以下錯誤快速Java項目:

Unable to start the daemon process. 
This problem might be caused by incorrect configuration of the daemon. 
For example, an unrecognized jvm option is used. 
Please refer to the user guide chapter on the daemon at C:\devtools\gradle-1.4\docs\userguide\gradle_daemon.html 
Please read below process output to find out more: 
----------------------- 
Error occurred during initialization of VM 
Could not reserve enough space for object heap 
Error: Could not create the Java Virtual Machine. 
Error: A fatal exception has occurred. Program will exit. 

Could not fetch model of type 'HierarchicalEclipseProject' using Gradle installation 'C:\devtools\gradle-1.4'. 

當我運行在命令行中一切都很好gradle build

任何想法,我可以得到這個工作?

乾杯

回答

5

既然你可以成功地運行在命令行gradle這個,你會想嘗試使用gradle這個在Eclipse插件。

Preference -> Gradle -> Gradle Distribution -> Folder設置爲您自己的Gradle發行版運行良好。