Never mind.. solved it.
On Tue, Nov 20, 2012 at 4:59 PM, Ivan Willig <[email protected]> wrote:
> Hi list,
>
> I am trying to use the geoserver rest api to update an layerobject info. I
> am using GeoServer 2.2.1 on OpenJDK 1.7.
>
> I get this xstream exception, https://gist.github.com/4121489
>
> To reproduce this error please use this gist
> https://gist.github.com/4121471 and the following curl command on the
> default GeoServer data dir.
>
> curl -v -H "Content-Type: application/json" -X PUT --data "@states.json"
> -u admin:geoserver http://localhost:8080/geoserver/rest/layers/states
>
> I figure that either I am doing something wrong or there is an issue in
> the xstream json converter.
>
> Thanks.
>
> --
>
> Ivan Willig
> OpenGeo - http://opengeo.org
>
>
>
--
Ivan Willig
OpenGeo - http://opengeo.org
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users