[Dspace-general] BUILD ERROR: Cannot execute mojo: resources

hardik mishra hardik_hunt at yahoo.com
Sat Jun 27 04:40:19 EDT 2009



Hi Friend

It seems to have some memory(heap) error. It's not Dspace error , clean everything and try to re-install everything.
If it continues to occur check your RAM size. The error is because of heap has been exhausted. 
Heap is an internal memory pool created at start-up that tasks use to dynamically allocate memory as needed.
 Best Regards
Hardik Mishra
Jr. Software Engineer WebInito Technologies - Ahmedabad - Gujarat(India).


Give a man a fish, and you feed him for a day. Teach a man to catch fish and you feed him for a lifetime. 




________________________________
From: olufunmilayo favour <olufunmilayo_favour at yahoo.com>
To: hardik mishra <hardik_hunt at yahoo.com>
Sent: Thursday, June 25, 2009 5:52:05 PM
Subject: Re: BUILD ERROR: Cannot execute mojo: resources


Thanks a lot, the idea seems to be working but still this error:

 An unexpected error has been detected by Java Runtime Environment:
 java.lang.OutOfMemoryError: requested 81920 bytes for GrET in C:\BUILD_AREA\jd
6_01\hotspot\src\share\vm\utilities\growableArray.cpp. Out of swap space?
  Internal Error (414C4C4F434154494F4E0E494E4C494E450E4850500017), pid=2548, ti
=1556
 Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode, sharing)
 An error report file with more information is saved as hs_err_pid2548.log
 If you would like to submit a bug report, please visit:
   http://java.sun.com/webapps/bugreport/crash.jsp
:\dspace-1.5.2-src-release\dspace>mvn package

Please, what do I do to rectify this?

Thanks.
Funmi

--- On Wed, 6/24/09, hardik mishra <hardik_hunt at yahoo.com> wrote:


From: hardik mishra <hardik_hunt at yahoo.com>
Subject: BUILD ERROR: Cannot execute mojo: resources
To: olufunmilayo_favour at yahoo.com
Cc: "Dspace Tech" <dspace-tech at lists.sourceforge.net>
Date: Wednesday, June 24, 2009, 11:47 PM


Hi Friend

Follow this steps , it might solve yout problem..

1. Add 'C:\apache-maven-2.1.0\bin' to your Environment PATH variable.
2. Create a new environment variable M2_HOME and give value  C:\apache-maven-2.1.0.
3. Create another  new environment variable M2 and give value  %M2_HOME%\bin
4. Open new command prompt.
5. Go to Dspace Install directory.
[dspace-1.5.2-src-release]\dspace\
and run mvn package

It should work
 Best Regards
Hardik Mishra
Jr. Software Engineer WebInito Technologies - Ahmedabad - Gujarat(India)


Give a man a fish, and you feed him for a day. Teach a man to catch fish and you feed him for a lifetime. 


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/dspace-general/attachments/20090627/c5bac056/attachment.htm


More information about the Dspace-general mailing list