Hi,
I’m having issues with current master (I also tried wfs-ng-improvements-2.0). Afaik, the current plan for gt-wfs-ng was to make it a plug and play replacement for gt-wfs.
I built geotools + geoserver and tried running GeoServer from the built zip file. The vanilla version seems fine, but if I switch out gt-wfs-12-SNAPSHOT.jar with gt-wfs-ng-12-SNAPSHOT.jar, the startup breaks. The below is a snippet of the exception.
2014-06-23 15:25:44.268::WARN: Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘wfsDataStorePanel’ defined in URL [jar:file:/home/savolais/twosix-2.0/geoserver-2.6-SNAPSHOT/webapps/geoserver/WEB-INF/lib/gs-web-core-2.6-SNAPSHOT.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type ‘java.lang.String’ to required type ‘java.lang.Class’ for property ‘factoryClass’; nested exception is java.lang.IllegalArgumentException: Cannot find class [org.geotools.data.wfs.WFSDataStoreFactory]:
java.lang.ClassNotFoundException: org.geotools.data.wfs.WFSDataStoreFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:366)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)
…
Is this supposed to work at the moment or is there some work pertaining to this change that I’m missing?
Sampo
–
Sampo Savolainen
R&D Director, Spatineo Oy
sampo.savolainen@anonymised.com
+358-407555649
Linnankoskenkatu 16 A 17, 00250 Helsinki, Finland
www.spatineo.com, twitter.com/#!/spatineo
www.linkedin.com/company/spatineo-inc
This message may contain privileged and/or confidential information. If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate, or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.
Hey Sampo,
The last part actually hasn’t been done yet to make it totally pluggable. It is a trivial change though so I’ll make it shortly and update this thread when you can grab a new build.
···
On Mon, Jun 23, 2014 at 6:54 AM, Sampo Savolainen <sampo.savolainen@anonymised.com3889…> wrote:
Hi,
I’m having issues with current master (I also tried wfs-ng-improvements-2.0). Afaik, the current plan for gt-wfs-ng was to make it a plug and play replacement for gt-wfs.
I built geotools + geoserver and tried running GeoServer from the built zip file. The vanilla version seems fine, but if I switch out gt-wfs-12-SNAPSHOT.jar with gt-wfs-ng-12-SNAPSHOT.jar, the startup breaks. The below is a snippet of the exception.
2014-06-23 15:25:44.268::WARN: Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘wfsDataStorePanel’ defined in URL [jar:file:/home/savolais/twosix-2.0/geoserver-2.6-SNAPSHOT/webapps/geoserver/WEB-INF/lib/gs-web-core-2.6-SNAPSHOT.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type ‘java.lang.String’ to required type ‘java.lang.Class’ for property ‘factoryClass’; nested exception is java.lang.IllegalArgumentException: Cannot find class [org.geotools.data.wfs.WFSDataStoreFactory]:
java.lang.ClassNotFoundException: org.geotools.data.wfs.WFSDataStoreFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:366)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)
…
Is this supposed to work at the moment or is there some work pertaining to this change that I’m missing?
Sampo
–
Sampo Savolainen
R&D Director, Spatineo Oy
sampo.savolainen@anonymised.com
+358-407555649
Linnankoskenkatu 16 A 17, 00250 Helsinki, Finland
www.spatineo.com, twitter.com/#!/spatineo
www.linkedin.com/company/spatineo-inc
This message may contain privileged and/or confidential information. If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate, or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
–
Justin Deoliveira
Vice President, Engineering | Boundless
jdeolive@anonymised.com
@j_deolive
OK, if you apply this pr on top of master you should see a clean upgrade.
https://github.com/geotools/geotools/pull/491
If nobody chimes in with an objection to the change I’ll merge it later today.
···
On Mon, Jun 23, 2014 at 7:40 AM, Justin Deoliveira <jdeolive@anonymised.com> wrote:
Hey Sampo,
The last part actually hasn’t been done yet to make it totally pluggable. It is a trivial change though so I’ll make it shortly and update this thread when you can grab a new build.
–
Justin Deoliveira
Vice President, Engineering | Boundless
jdeolive@anonymised.com
@j_deolive
On Mon, Jun 23, 2014 at 6:54 AM, Sampo Savolainen <sampo.savolainen@anonymised.com> wrote:
Hi,
I’m having issues with current master (I also tried wfs-ng-improvements-2.0). Afaik, the current plan for gt-wfs-ng was to make it a plug and play replacement for gt-wfs.
I built geotools + geoserver and tried running GeoServer from the built zip file. The vanilla version seems fine, but if I switch out gt-wfs-12-SNAPSHOT.jar with gt-wfs-ng-12-SNAPSHOT.jar, the startup breaks. The below is a snippet of the exception.
2014-06-23 15:25:44.268::WARN: Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘wfsDataStorePanel’ defined in URL [jar:file:/home/savolais/twosix-2.0/geoserver-2.6-SNAPSHOT/webapps/geoserver/WEB-INF/lib/gs-web-core-2.6-SNAPSHOT.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type ‘java.lang.String’ to required type ‘java.lang.Class’ for property ‘factoryClass’; nested exception is java.lang.IllegalArgumentException: Cannot find class [org.geotools.data.wfs.WFSDataStoreFactory]:
java.lang.ClassNotFoundException: org.geotools.data.wfs.WFSDataStoreFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:366)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)
…
Is this supposed to work at the moment or is there some work pertaining to this change that I’m missing?
Sampo
–
Sampo Savolainen
R&D Director, Spatineo Oy
sampo.savolainen@anonymised.com
+358-407555649
Linnankoskenkatu 16 A 17, 00250 Helsinki, Finland
www.spatineo.com, twitter.com/#!/spatineo
www.linkedin.com/company/spatineo-inc
This message may contain privileged and/or confidential information. If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate, or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
–
Justin Deoliveira
Vice President, Engineering | Boundless
jdeolive@anonymised.com
@j_deolive