Justin Deoliveira ha scritto:
> I just had to set up a clean development environment and am running into
> an issue that Simone reported on IRC the other day. The issue is with
> GML datastore reporting that it can handle certain URL's that it can
> not. Relevant exception:
>
> java.io.IOException: GML file doesn't exist: tasmania_roads.xml
> at
> org.geotools.data.gml.GMLDataStore.getFileDataStore(GMLDataStore.java:126)
> at org.geotools.data.gml.GMLDataStore.getSchema(GMLDataStore.java:113)
> at
> org.geoserver.catalog.util.LegacyCatalogImporter.readFeatureType(LegacyCatalogImporter.java:461)
> at
> org.geoserver.catalog.util.LegacyCatalogImporter.imprt(LegacyCatalogImporter.java:158)
> at
> org.geoserver.config.GeoServerLoader.initialize(GeoServerLoader.java:119)
> at
> org.geoserver.config.GeoServerLoader.postProcessBeforeInitialization(GeoServerLoader.java:81)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBefo
>
>
> I assume the GML ds is brought in now b/c of the dependency on directory
> datastore. Should we add an exclusion?
First off a clarification. The "issue" is that we get these error
messages that mess up the logs, or there some real functionality being
broken because of it?
The directory data store is not the cause, not directly at least, since
this is the contents of its pom.xml:
<dependency>
<groupId>org.geotools</groupId>
<artifactId>gt-gml</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
In fact I run mvn dependency:tree on my 1.7.x web module and did
not see gml datastore as part of the dependencies.
Sorry for the silly question but, may it be it's some time you
don't built geotools with the -Dall switch?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel