Hi, On 27/06/13 23:03, [email protected] wrote: > I was trying to install Dspace 3.1 and I get the below error while I do ant > fresh_install: > > test_database: > [java] 2013-06-27 16:30:41,690 INFO > org.dspace.core.ConfigurationManager @ Loading system provided config > property (-Ddspace.configuration): config/dspace.cfg > [java] Exception in thread "main" java.lang.ExceptionInInitializerError > [java] Caused by: java.lang.IllegalStateException: Cannot load license: > /home/dspace/dspace-3.1-src-release/config/default.license
I think you've set the wrong value for dspace.install.dir in [dspace-src]/build.properties or dspace.dir in [dspace-src]/dspace/config/dspace.cfg. I was just able to reproduce your problem by setting dspace.install.dir = [dspace-src] in build.properties (using the actual value for dspace-src). dspace.install.dir / dspace.dir need to be set to where you want the *installed* version of DSpace to live, not to the location of the source. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

