Hi Lewatle, there is an instruction in the DSpace Documentation, see chapter 9.5. Item Importer and Exporter Furthermore there is a handout from TDL (thanks folks) which explains some details: http://www.tdl.org/files/DSpaceBatchImportFormat.pdf
In your case make sure that -c [handle] points to a collection seems as if 123456789/9 is an item not a collection. Hope that helps Claudia Jürgen Lewatle Phaladi schrieb: > Hi > > I am importing files to dspace with no success. i want step by step > on how to do the import. bellow is what i have done, just have a > look. > > > > dsp...@dspace-desktop:/usr/local/dspacesrc/dspace/bin$ sudo ./dsrun > org.dspace.app.itemimport.ItemImport -a -e [email protected] > -m mapfile.out -c 123456789/9 -s > /usr/local/dspacesrc/dspace/bin/importdirectory Destination > collections: Exception in thread "main" java.lang.ClassCastException: > org.dspace.content.Item cannot be cast to > org.dspace.content.Collection at > org.dspace.app.itemimport.ItemImport.main(ItemImport.java:377) > > > > I also even run ./import script with success but when i check in my > dspace web interface i just cant find an imported item. > > <html><p><font face = "verdana" size = "0.8" color = "navy">This > communication is intended for the addressee only. It is confidential. > If you have received this communication in error, please notify us > immediately and destroy the original message. You may not copy or > disseminate this communication without the permission of the > University. Only authorized signatories are competent to enter into > agreements on behalf of the University and recipients are thus > advised that the content of this message may not be legally binding > on the University and may contain the personal views and opinions of > the author, which are not necessarily the views and opinions of The > University of the Witwatersrand, Johannesburg. All agreements between > the University and outsiders are subject to South African Law unless > the University agrees in writing to the contrary.</font></p></html> > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------ > > > _______________________________________________ DSpace-tech mailing > list [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

