On Tue, Jul 21, 2009 at 09:47:28AM -0500, Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY] wrote: > Your java program (ItemExport) cannot be found. Make sure your directory > structure is org/dspace/app/itemexport.
Um, that path is within a member of CLASSPATH, not in the external filesystem. The actual problem seems to be that CLASSPATH doesn't include dspace-api-1.5.2.jar which ought to contain the requested class. It might also be that the JAR is inaccessible for some reason. It is worth a look at the permissions on the necessary files and directories vs. the account being used to run the command. The given command is nearly identical to the one you'll find in the [DSpace]/bin/export script. It should be working if all is configured properly. It might be worthwhile to try the script, though. > ________________________________ > From: Lewatle Phaladi [mailto:[email protected]] > Sent: Tuesday, July 21, 2009 9:36 AM > To: [email protected] > Subject: [Dspace-tech] Eport Items with dsrun > > We are exporting files using dsrun but we are getting the error that I have > just pasted bellow. > I am running this command on my Solaris 9 operating system and my dspace is > 1.5.1 > > $ dsrun org.dspace.app.itemexport.ItemExport --type=ITEM --id=123456789/3907 > --dest/export/home/testexport --number=1 > > That is the error we have received. > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/dspace/app/itemexport/ItemExport -- Mark H. Wood, Lead System Programmer [email protected] Friends don't let friends publish revisable-form documents.
pgp2AWzLMUlTK.pgp
Description: PGP signature
------------------------------------------------------------------------------
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

