Hello -
Please check which version of Java you are using. DSpace 1.6 requires the Sun
Java JDK 5 or later.
--keith
On Sep 29, 2010, at 1:58 PM, Miguel Pizarro wrote:
> 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 dsp...@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…
>
>
> Miguel Pizarro
> Soporte Tecnológico
> Alerta al Conocimiento
> Fono 56 (2) 233 79 08
> e-mail: sopo...@alerta.cl
> Providencia n° 2.040 of. C.
> CP: 7510117
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech