首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

Spring 源码编译 失误FAILURE: Build failed with an exception

2012-12-27 
Spring 源码编译出错FAILURE: Build failed with an exception.编译过程中出现如下错误?FAILURE: Build fa

Spring 源码编译 出错FAILURE: Build failed with an exception.

编译过程中出现如下错误

?

FAILURE: Build failed with an exception.

?

* What went wrong:

Execution failed for task ':referencePdf'.

> Java heap space

?

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

?

BUILD FAILED

?

Total time: 2 mins 0.683 secs

?

看下错误日志,发现需要调整 gradlew.bat文件中的?MaxHeapSize 的大小

?set GRADLE_OPTS=-XX:MaxPermSize=512m -Xmx512m -XX:MaxHeapSize=512m %GRADLE_OPTS%

热点排行