Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3498510
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:29:56+00:00 2026-05-18T12:29:56+00:00

I am trying to build spring framework (both trunk and 3.0.5 Release). The build

  • 0

I am trying to build spring framework (both trunk and 3.0.5 Release). The build fails with the error was shown below. Steps taken.

  1. svn co https://src.springsource.org/svn/spring-framework/trunk spring-framework
    or svn co https://src.springsource.org/svn/spring-framework/tags/spring-framework-3.0.5.RELEASE spring-framework-3.0.5.RELEASE
  2. cd build-spring-framework
  3. ant

Unfortunately, I am building on windows machine. Java version shows
java version “1.6.0_16”
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)

thanks.

[s:javac]     at org.apache.tools.ant.Task.perform(Task.java:348)
  [s:javac]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
  [s:javac]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
  [s:javac]     at sun.reflect.GeneratedMethodAccessor151.invoke(Unknown Source)
  [s:javac]
  [s:javac] ----------
   [subant] Leaving directory: C:\Work\SpringFramework\spring-framework-3.0.5.RELEASE\org.springframework.web

BUILD FAILED
C:\Work\SpringFramework\spring-framework-3.0.5.RELEASE\spring-build\multi-bundle\artifact.xml:60: The following error oc
curred while executing this line:
C:\Work\SpringFramework\spring-framework-3.0.5.RELEASE\spring-build\multi-bundle\common.xml:86: The following error occu
rred while executing this line:
C:\Work\SpringFramework\spring-framework-3.0.5.RELEASE\spring-build\common\artifact.xml:43: The following error occurred
 while executing this line:
C:\Work\SpringFramework\spring-framework-3.0.5.RELEASE\spring-build\common\common.xml:161: The following error occurred
while executing this line:
C:\Work\SpringFramework\spring-framework-3.0.5.RELEASE\spring-build\standard\common.xml:29: java.lang.reflect.Invocation
TargetException
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T12:29:56+00:00Added an answer on May 18, 2026 at 12:29 pm

    Well, I am still to correct it.. but the actual cause was

    java.lang.OutOfMemoryError: PermGen space
    

    I remember I have to increase the XX:MaxPermSize VM argument, and going through the option. Sorry for the trouble.

    Edit:
    adding a system variable ANT_OPTS with value -XX:MaxPermSize=128m -Xmx256m did the trick.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying build an AST for the below grammer using ANTLR condition_in :
I'm trying build a MVC framework, but I'm confused about manage themes. Well... I
I'm having a frustrating time with Spring 3 MVC trying to build RESTful web
I'm trying to build a patched version of Spring 3.0.1 but i'm facing test
hi Trying to build my own spring application,I made a page to input name
we are trying to develop a web application framework and build implementatins on top
I am new to AspectJ and Spring and trying to build the example with
I am trying to download Spring Batch and Spring Framework using Ivy, and I'm
I have upgraded my Spring dependency to Spring 3.1.1.RELEASE and I'm trying to use
i'm trying to learn Entity Framework and I need some help to build my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.