[greenstone-users] Exception in thread "main java.lang.NoClassDefFoundError

From Katherine Don
DateFri Oct 9 22:02:52 2009
Subject [greenstone-users] Exception in thread "main java.lang.NoClassDefFoundError
In-Reply-To (921805455-192491253025342729-JavaMail-root-mail-gosl-gov-lc)
Hi Carla

The admin folder is for the admin tool. This is still very much under
development, and it a tool for viewing logs, installing extension code
etc. And it looks like from this error that the java classes are not
there or can't be found. Don't worry about this as the admin tool is not
veyr useful yet.

To run the main greenstone server, please run gs3-server.bat in the top
level greenstone folder. There is a bit more information about this in
the README.txt file.

Regards,
Katherine

Carla Lendor wrote:
> Does anyone know what this means.
>
>
> My greestone digital libray is unable to start up. I am using greenstone 3.04 on window 2003 serevr.
>
> When I run C:Program Filesgsadmin>gs3-admin I get the following error/output:
>
>
>
> gsdl3srchome: C:Program Filesgs
> gsdl3srchome: C:Tomcat6.0webappsgreenstone3
> javahome: C:JDKjdk1.6.0_14
> classpath: .;C:Program Filesgslibjni
>
> Exception in thread "main" java.lang.NoClassDefFoundError: org/greenstone/admin/
> GAI
> Caused by: java.lang.ClassNotFoundException: org.greenstone.admin.GAI
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> Could not find the main class: org.greenstone.admin.GAI.
>
> I read that this error is related to the classpath but I have no clue what I am doing wrong.
>
>
> Help appreciated! Sorry if posted twice. I am not sure how this list thing works so please bear with me.
>
>
> Get EcoSmart: Go Green ! Stop, do YOU really NEED to print this eMail?
>
> Carla Lendor
>
> Data and Records Officer
>
> Ministry of Finance
>
> Financial Centre Bldg.
>
> Castries
>
> SAINT LUCIA
>
>
>
> 758 468 5528 (Phone)
>
> 758 451 9231 (Fax)
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>