Hello Anita, fine, so this is solved.
Note that in the documentation(most additional sources/guides follow that convention)
[dspace] refers to the installation directory and [dspace-src] to the source directoryThis is outlined in chapter 3.2.2. Overview of DSpace Directories of the DSpace documentation.
Hope that helps Claudia Jürgen Am 01.03.2010 18:32, schrieb Anita P:
Thanks Claudia, I think that was my problem. I was running the command from the source directory. A newbie mistake :) Thanks for the help. Anita 2010/3/1 Claudia Jürgen<[email protected]>Hello Anita, are you sure you are running the commands from the DSpace installation directory not the source directory? The commands should be run from the installation directory. Hope that helps Claudia Jürgen Am 26.02.2010 19:05, schrieb Anita P:Hello All, I am a newbie and have installed DSpace. I get the Exception in thread "main" java.lang.NoClassDefFoundError: for anything i try to do. As an example I was executing hte filter-media * ./filter-media Applying Media Filters Exception in thread "main" java.lang.NoClassDefFoundError: org/dspace/app/mediafilter/MediaFilterManager Caused by: java.lang.ClassNotFoundException: org.dspace.app.mediafilter.MediaFilterManager at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: org.dspace.app.mediafilter.MediaFilterManager. Program will exit. *Next *./index-init Creating browse index Exception in thread "main" java.lang.NoClassDefFoundError: org/dspace/browse/IndexBrowse Caused by: java.lang.ClassNotFoundException: org.dspace.browse.IndexBrowse at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: org.dspace.browse.IndexBrowse. Program will exit. Exception in thread "main" java.lang.NoClassDefFoundError: org/dspace/browse/ItemCounter Caused by: java.lang.ClassNotFoundException: org.dspace.browse.ItemCounter at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: org.dspace.browse.ItemCounter. Program will exit. Creating search index Exception in thread "main" java.lang.NoClassDefFoundError: org/dspace/search/DSIndexer Caused by: java.lang.ClassNotFoundException: org.dspace.search.DSIndexer at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: org.dspace.search.DSIndexer. Program will exit. * So no matter what I do the java.lang.NoClassDefFoundError occurs so I think I am doing something fundamentally wrong. Any ideas where I could be going wrong. I am not sure if this is a very general questiona dn if you need further information to help me out. Thanks in advance. Anita ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech
<<attachment: Claudia_Juergen.vcf>>
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

