Open
Description
Hi All, in the 1.24.0 version the geowebcache.xml file does not have arcgisLayer configured inside the in parallel with , but it exists in 1.6.X version, after I added the , now I got exception:
Debugging information ----
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : arcgisLayer
class : java.util.ArrayList
required-type : java.util.ArrayList
converter-type : org.geowebcache.io.CollectionConverter
class[1] : org.geowebcache.config.GeoWebCacheConfiguration
required-type[1] : org.geowebcache.config.GeoWebCacheConfiguration
converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
version : 1.25.x/87b9e33be5b040e9312d0b34bd630298ff8c2ab7
-------------------------------
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:68)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:74)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:68)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:52)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:136)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1464)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1430)
at org.geowebcache.config.XMLConfiguration.loadConfiguration(XMLConfiguration.java:331)
at org.geowebcache.config.XMLConfiguration.loadConfiguration(XMLConfiguration.java:317)
at org.geowebcache.config.XMLConfiguration.afterPropertiesSet(XMLConfiguration.java:842)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
... 57 more
Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: arcgisLayer
I do need the arcgisLayer for the map, it configured in the end inside layers tag in the geowebcache.xml as:
<arcgisLayer> <name>worldStreetMap</name> <tilingScheme>/app/geoserver/images/Basemap_World_Streetmap_2D/Layers/Conf.xml</tilingScheme> </arcgisLayer>
that caused the gwcXmlConfig bean creation failed and the geoserver admin UI not accessible with 503 HTTP error.
Any solution for this issue?
Thanks
Metadata
Assignees
Labels
No labels
Activity