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: [email protected],
           [email protected]
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: [email protected],
             [email protected]
  Profile: http://www.linkedin.com/in/filipposkolovos
  Phone: +30-2310-891-826
  -----------------------------------------------------------------------

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to