我正在使用eclipse 4.2发行版并安装了来自springsource的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'.
Run Code Online (Sandbox Code Playgroud)
当我gradle build在命令行中运行时一切都很好.
任何想法我怎么能让这个工作?
干杯
由于您可以在命令行中成功运行gradle,因此您可能希望尝试在eclipse插件中使用该gradle.
设置Preference -> Gradle -> Gradle Distribution -> Folder为您自己的gradle分布,运行正常.
| 归档时间: |
|
| 查看次数: |
5229 次 |
| 最近记录: |