Hi,
I’m trying to repeat the application schema tutorial example and made the 
following simple steps:
-       Installed geoserver 2.3.0 on Windows 7 (64), JRE 6 (64) 
-       Copied jar files into WEB-INF/lib
-       Copied  geoserver-2.3.0-app-schema-plugin/tutorial as data_dir.
Then … logging with admin or root user…
In Layer preview I can see only gsml:Mappedfeature. When I tried to get GML 
from layer preview page the result is:

<ServiceExceptionReport xmlns="http://www.opengis.net/ogc"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
version="1.2.0"xsi:schemaLocation="http://www.opengis.net/ogc 
http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd";>
<ServiceException>
java.lang.ClassCastException: 
org.geotools.feature.type.ComplexFeatureTypeImpl cannot be cast to 
org.opengis.feature.simple.SimpleFeatureType 
org.geotools.feature.type.ComplexFeatureTypeImpl cannot be cast to 
org.opengis.feature.simple.SimpleFeatureType
</ServiceException>
</ServiceExceptionReport>

Also it’s impossible to republish some other complex feature, for example if 
I tried to publish again tut_RoadSegment, the error is:

java.lang.RuntimeException: Error occurred while building the resources for 
the configuration page
        at 
org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.java:3
02)
        at 
org.geoserver.web.data.layer.NewLayerPage$6.onClick(NewLayerPage.java:241)
        at org.geoserver.web.wicket.SimpleAjaxLilp 
nk$1.onClick(SimpleAjaxLink.java:45)
        at 
org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:68)
         ………………………….

Can anybody help me?
Regards
Hristo Dechev


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to