On Tue, Apr 1, 2014 at 8:41 AM, Tara <[email protected]> wrote:

> hi,
>
> Please help me resolve this issue..
> I am using geoserver for first time, have no idea what is wrong with my sld
> file. but geoserver is throwing this exception
> "The requested Style can not be used with this layer.  The style specifies
> an attribute of GEOMETRY"
> Please suggest me to resolve this
>

Please check the archives before posting questions, the very same one was
asked yesterday
(or was it two days ago, I don't remember).

Anyways, it means your style is referring to an attribute GEOMETRY that is
not
part of your layer attributes (mind, names are case sensitive, if you have
"geometry"
it won't match).

Cheers
Andrea

-- 
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to