What happens if you remove the layer.xml? It looks like it was generated 
by the GUI.

On 30/08/10 16:13, babsip wrote:
>
> Hi all!
>
> After having updated from GeoServer 2.0.1 to 2.0.2 I'm having problems with
> my WFS.
> I get the following error-message:
>
> <ows:ExceptionReport version="1.0.0"
> xsi:schemaLocation="http://www.opengis.net/ows
> http://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd";>
>    <ows:Exception exceptionCode="NoApplicableCode">
>      <ows:ExceptionText>
>        Error occurred getting features
>        Duplicate mappingName or targetElement across FeatureTypeMapping
> instances detected.
>        They have to be unique, or app-schema doesn't know which one to get.
>        Please check your mapping file(s) with mappingName or targetElement
> of: http://www.opengeospatial.net/ps:speciesIncluded
>      </ows:ExceptionText>
>    </ows:Exception>
> </ows:ExceptionReport>
>
> Remark: "ps:SpeciesIncluded" is a non-feature-type, it's defined in
> "SpeciesInclude.xml".
>
> I don't see where there are any duplicates in the mapping file. Because
> there are so many files involved, I have attached a ZIP containing all the
> mapping files and the XSD - hoping that maybe someone can shed a light on
> the problem... The structure of the ZIP should be self-explaining:
>
> * everything in "GeoServer_data_dir" goes into the<data_dir>  directory
> * everything in "GeoServer_webapps" goes into the<webapps>-directory
>    (this is "app-schema.properties" for Property Interpolation)
>
> The data is fetched from a PostGIS-Database.
>
> As I said before, everything worked fine with GeoServer 2.0.1, so what
> changed in 2.0.2?
>
> Thank you very much for your help!
>
> Kind Regards
> Barbara
>
> http://old.nabble.com/file/p29570368/Duplicates_GeoServer_2.0.2.zip
> Duplicates_GeoServer_2.0.2.zip
>


-- 
Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to