[Dspace-general] Generate Sitemaps script problem
Filippos Kolovos
filippos at uom.gr
Tue Apr 28 06:44:58 EDT 2009
Dear All,
I have found the answer to the problem below. Although I have installed jdk6 I hadn't updated my PATH
environment varibale nor the alternatives system, which used the 1.4 JRE installed at another time, which does not have
the method getCanonicalName because it was defined in JRE 1.5 and above.
I followed the easy way to correct this, by updating my PATH to include the bin subdir of my jdk6 and later on I'll update my alternatives
package as well.
-Fk
--
Filippos Kolovos
Software Systems Analyst & Engineer
M.Sc. (Eng.) in Data Communications
Automation & Networking Department
University of Macedonia Library
Egnatia 156, P.O.Box 1591
540 06 Thessaloniki, Greece
E-Mail: f.kolovos at ieee.org,
filippos at uom.gr
Profile: http://www.linkedin.com/in/filipposkolovos
-----------------------------------------------------------------------
----- Original Message -----
From: Filippos Kolovos
To: Dspace-general-list
Cc: Dspace-Tech-List
Sent: Tuesday, April 28, 2009 1:14 PM
Subject: Generate Sitemaps script problem
Dear all,
I am using JDK 6 update 13, correctly have set my JAVA_HOME environment variable
but when I execute the [dspace]/bin/generate-sitemaps script it fails with the error:
Exception in thread "main" java.lang.NoSuchMethodError: method java.lang.Class.getCanonicalName with signature ()Ljava.lang.String; was not found.
at org.dspace.app.sitemap.GenerateSitemaps.main(GenerateSitemaps.java:82)
I am deploying Dspace 1.5.2.
Thanks for any help provided.
-Fk
--
Filippos Kolovos
Software Systems Analyst & Engineer
M.Sc. (Eng.) in Data Communications
Automation & Networking Department
University of Macedonia Library
Egnatia 156, P.O.Box 1591
540 06 Thessaloniki, Greece
E-Mail: f.kolovos at ieee.org,
filippos at uom.gr
Profile: http://www.linkedin.com/in/filipposkolovos
Phone: +30-2310-891-826
-----------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/dspace-general/attachments/20090428/adc3366f/attachment.htm
More information about the Dspace-general
mailing list