Hey all,
I have been working on wfs-v and noticed a new version of the extension for download: geoserver-2.0.1-wfsv-plugin.zip, great! So I updated to the current stable version of GeoServer (previously using 2.0.0a) and get the following CNF error:
09 Feb 09:47:10 INFO [org.geoserver] -
java.lang.NoClassDefFoundError: org/geotools/data/postgis/fidmapper/PostGISAutoIncrementFIDMapper
at org.geotools.data.postgis.VersionedPostgisDataStore.(VersionedPostgisDataStore.java:120)
digging a little I find that gt-postgis-versioned-2.6.1.jar has been updated in the extension but we are missing some classes (or my DB config is incorrect, eek!).
I grabbed gt-postgis-2.6.1.jar from GeoTools and added this to the extension and that fixed the Class Not Found error but I don’t know if this has also broken other things.
Any ideas if my versioned DB is incorrectly setup or if this is actually an issue and if is there something I can do to help get it fixed?
I still have to move back to GS 2.0.0a as modify/insert on wfs is broken L.
Out of curiosity I installed my modified wfs-v extension (has to otherwise I get above CNF) into my GeoServer 1.6.2 (as its stated it works in anything above 1.6.X in the readme.txt) and get a different CNF error:
09 Feb 09:37:05 ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name ‘wfsvXsd-1.1’ defined in URL [jar:file:/C:/Programs/Apache/tomcat-5.5.9/webapps/geoserver/WEB-INF/lib/wfsv-2.0.1.jar!/applicationContext.xml]: Class that bean class [org.geoserver.wfsv.xml.v1_1_0.WFSV] depends on not found; nested exception is java.lang.NoClassDefFoundError: org/geotools/xml/XSD
java.lang.NoClassDefFoundError: org/geotools/xml/XSD
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1629)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:850)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1299)
Cheers for your time,
Johnathon Hudson
Software Engineer
LISAsoft Pty Ltd
john.hudson@anonymised.com
Level 1, 30 Currie Street
Adelaide SA 5000 AUSTRALIA
Ph: +61 8 8425 8050
Fax: +61 8 8425 8099
Mobile: +61 402 300 415
Website: www.lisasoft.com
The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.