[Geoserver-users] Geoserver installation - Could not instantiate class...

Hello, i'm beginning with Geoserver.
I'm encountering an error when deploying Geoserver 1.6RC2 (war install) on Tomcat5
I'm running Linux Fedora (jdk1.6).

Here is my problem:

11 jan 13:07:02 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
11 jan 13:07:02 INFO [geoserver.global] - Done disposing datastores.
11 jan 13:07:02 ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'describeVersionedFeatureTypeKvpReader' defined in URL [jar:file:/usr/share/tomcat5/webapps/geoserver/WEB-INF/lib/wfsv-1.6.0-RC2.jar!/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [org.geoserver.wfsv.kvp.DescribeVersionedFeatureTypeKvpRequestReader]; constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.eclipse.emf.ecore.plugin.EcorePlugin
org.springframework.beans.FatalBeanException: Could not instantiate class [org.geoserver.wfsv.kvp.DescribeVersionedFeatureTypeKvpRequestReader]; constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.eclipse.emf.ecore.plugin.EcorePlugin
java.lang.NoClassDefFoundError: org.eclipse.emf.ecore.plugin.EcorePlugin

Thanks for your help

Ludovic

      _____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr

ludovic gnemmi ha scritto:

Hello, i'm beginning with Geoserver.
I'm encountering an error when deploying Geoserver 1.6RC2 (war install) on Tomcat5 I'm running Linux Fedora (jdk1.6).

Here is my problem:

11 jan 13:07:02 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
11 jan 13:07:02 INFO [geoserver.global] - Done disposing datastores.
11 jan 13:07:02 ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'describeVersionedFeatureTypeKvpReader' defined in URL [jar:file:/usr/share/tomcat5/webapps/geoserver/WEB-INF/lib/wfsv-1.6.0-RC2.jar!/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [org.geoserver.wfsv.kvp.DescribeVersionedFeatureTypeKvpRequestReader]; constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.eclipse.emf.ecore.plugin.EcorePlugin
org.springframework.beans.FatalBeanException: Could not instantiate class [org.geoserver.wfsv.kvp.DescribeVersionedFeatureTypeKvpRequestReader]; constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.eclipse.emf.ecore.plugin.EcorePlugin
java.lang.NoClassDefFoundError: org.eclipse.emf.ecore.plugin.EcorePlugin

This is strange, it seems your installation has troubles locating
the Eclipse EMF library. Do you have an ecore-2.2.2.jar in geoserver/web-inf/lib?
May it be that, for some reason, another ecore-xxx.jar is around,
maybe in the shared libs, or the the jdk install?

Final question, that jdk6 comes from Sun? Or is it the version
shipped with Fedora (icedTea)?
Cheers
Andrea