You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Accessing the endpoint directly in the browser or using the API results in an XML file without any style information, showing only <long-array-array/>.
The logs display the following error:
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)}
The error inside the Terminal after running the curl command: <Map><timestamp>1722926495200</timestamp><status>500</status><error>Internal Server Error</error><path>/gwc/rest/seed/workspace:layer.xml</path></Map>
Additional information
the layer uses the default style
The text was updated successfully, but these errors were encountered:
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:
<long-array-array/>
.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)}
<Map><timestamp>1722926495200</timestamp><status>500</status><error>Internal Server Error</error><path>/gwc/rest/seed/workspace:layer.xml</path></Map>
The text was updated successfully, but these errors were encountered: