geoserver / geoserver-cloud

Cloud Native GeoServer is GeoServer ready to use in the cloud through dockerized microservices.
http://geoserver.org/geoserver-cloud
Other
246 stars 74 forks source link

Ambiguous Handler Methods Error When Seeding Cache Using GeoServer REST API #502

Open iungurianu opened 1 month ago

iungurianu commented 1 month ago

Description:

I am attempting to create a cache for a layer using the GeoServer Cloud REST API and GeoWebCache. Despite following the configuration steps, I am encountering an java.lang.IllegalStateException error related to ambiguous handler methods when trying to seed the cache.

Environment:

GeoServer Cloud: 1.8.9 GeoWebCache version: 1.25

Steps to Reproduce:

  1. GeoWebCache Configuration:

java.lang.IllegalStateException: Ambiguous handler methods mapped for '/geoserver/gwc/rest/seed/workspace:layer.xml': {public org.springframework.http.ResponseEntity org.geowebcache.rest.controller.SeedController.seedOrTruncateWithXmlPayload(javax.servlet.http.HttpServletRequest,java.io.InputStream,java.lang.String), public org.springframework.http.ResponseEntity org.geowebcache.rest.controller.SeedController.doPost(javax.servlet.http.HttpServletRequest,java.io.InputStream,java.lang.String,java.util.Map)}

  1. Additional information
    • the layer uses the default style