hi everyone,

I'm trying to import data to dspace 1.6 using dsrun application.

In dspace 1.4 I don't have problem with this function, but in dspace 1.6 appear an error when I execute the follow sentence:

 

./dsrun org.dspace.app.itemimport.ItemImport -a -e dspace@alerta.cl -c "1" -s "/data/carga/root" -m "ejemplo_8"

Destination collections:

Owning  Collection: Prueba Carga de colecciones

Adding items from directory: /data/carga/root

Generating mapfile: ejemplo_8

Adding item from directory 000541595

        Loading dublin core from /data/carga/root/000541595/dublin_core.xml

        Schema: dc Element: format Qualifier: medium Value: BK

        Schema: dc Element: identifier Qualifier: code Value: 000541595

        Schema: dc Element: language Qualifier: none Value: spa

        Schema: dc Element: contributor Qualifier: author Value: Bastías, Gabriel

        Schema: dc Element: title Qualifier: none Value: Garantías explícitas en salud (GES) : seis consideraciones para su implementación

        Schema: dc Element: publisher Qualifier: none Value: Pontificia Universidad Católica de Chile, Vicerrectoría de Comunicaciones y Asuntos Públicos

        Schema: dc Element: date Qualifier: created Value: 2007

        Schema: dc Element: description Qualifier: none Value: Temas de la agenda pública ; Año 2, no. 9

        Schema: dc Element: subject Qualifier: other Value: Reforma en la atención de salud - Chile

        Schema: dc Element: subject Qualifier: other Value: Política de salud - Chile

        Schema: dc Element: contributor Qualifier: author Value: Andia, Marcelo.

 

        Schema: dc Element: archivos Qualifier: adjuntos Value: 12.pdf

        Processing contents file: /data/carga/root/000541595/contents

        Bitstream: 12.pdf

Processing handle file: handle

It appears there is no handle file -- generating one

Exception in thread "main" java.lang.NoSuchMethodError: method java.lang.String.format with signature (Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.String; was not found.

   at org.dspace.content.DCDate.toStringInternal(DCDate.java:284)

   at org.dspace.content.DCDate.toString(DCDate.java:272)

   at org.dspace.content.InstallItem.installItem(InstallItem.java:112)

   at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:774)

   at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:608)

   at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:500)

 

Could someone help me?

Thank for your time…

 

Pedro Montero