Spring source compiles and imports eclipse

Source: Internet
Author: User
Tags gc overhead limit exceeded
1, download the source code and unzip

Https://github.com/spring-projects/spring-framework/tree/v3.2.5.RELEASE



2, the source code compiled cmd into the spring source root directory, the implementation of compiled Source: Gradlew build may have problems: (1) If some methods are not found, you need to check the JDK version, some methods of version 1.6 will not be found. Need to upgrade JDK to 1.7+ (2) appears: Java.lang.OutOfMemoryError:GC overhead limit exceeded or Java.lang.OutOfMemoryError:java heap Space will need to increase the JVM heap memory, modify the Gradlew.bat JVM settings, generally set to 512m is enough, you can open the local jvisualvm.exe see the compilation process stack changes, according to the actual situation set
(3) Some test code compilation does not pass, then set the compilation skip Gradle build-x test

3, pull the dependency package Gradlew install may be a problem: some packages can not pull down, due to network reasons, because all are from the foreign site, you may get some VPN agent to go through the wall access

4. Generate eclipse required. Classpath IDE dependent files Gradlew Cleanidea eclipse
5, import eclipse but found no way to all of a sudden in the lead, need a module to enter the problem may occur: (1) Eclipse AspectJ Internal Compiler error should be the eclipse version of the bug, The latest version of Eclipse can be downloaded and then re-imported (2) some modules are not compiled, mainly because some of the test code used by the dependency package does not exist, can be removed. And then remove the corresponding test code to

Spring source compiles and imports eclipse

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.