`
cjx186
  • 浏览: 272175 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

GeoServer启用GeoWebCache时的一个错误

    博客分类:
  • gis
 
阅读更多
2012-03-18 21:16:01,537 INFO [jdbc.JDBCMBWrapper] - MetaStore database is version 120
2012-03-18 21:16:01,584 INFO [config.XMLConfiguration] - No configuration directory was specified, using /root/geoserver/webapps/geoserver/WEB-INF/classes/geowebcache.xml
2012-03-18 21:16:01,584 INFO [config.XMLConfiguration] - Found configuration file in /root/geoserver/webapps/geoserver/WEB-INF/classes
2012-03-18 21:16:01,590 INFO [config.XMLConfiguration] - Updating configuration from 1.2.2 to 1.2.4
2012-03-18 21:16:02,163 INFO [config.XMLConfiguration] - cvc-elt.1: 找不到元素 'gwcConfiguration' 的声明。
2012-03-18 21:16:02,164 INFO [config.XMLConfiguration] - Will try to use configuration anyway.
2012-03-18 21:16:02,193 INFO [storage.StorageBroker] - Destroying StorageBroker
2012-03-18 21:16:03,291 INFO [geoserver.catalog] - Disposing datastore 'DataStoreInfoImpl-42b02764:1339fb150a6:-8000'
2012-03-18 21:16:03,291 INFO [geoserver.catalog] - Disposing datastore 'DataStoreInfoImpl--29c72c3:13399168f85:-7fe5'
2012-03-18 21:16:03,291 INFO [geoserver.catalog] - Disposing datastore 'DataStoreInfoImpl--29c72c3:13399168f85:-8000'
2012-03-18 21:16:03,292 INFO [geoserver.catalog] - Disposing datastore 'DataStoreInfoImpl--29c72c3:13399168f85:-7fe8'
2012-03-18 21:16:03,292 INFO [geoserver.catalog] - Disposing datastore 'DataStoreInfoImpl--4a4c52cb:1339e3a78c0:-7ff5'
2012-03-18 21:16:03,292 INFO [geoserver.catalog] - Disposing datastore 'DataStoreInfoImpl--29c72c3:13399168f85:-7fdc'
2012-03-18 21:16:03,292 INFO [geoserver.catalog] - Disposing datastore 'DataStoreInfoImpl--29c72c3:13399168f85:-7ffd'
2012-03-18 21:16:03,292 INFO [geoserver.catalog] - Disposing datastore 'DataStoreInfoImpl--5dc7e5d8:1339fbb096b:-8000'
2012-03-18 21:16:03,292 INFO [geoserver.catalog] - Disposing datastore 'DataStoreInfoImpl-21e9141:1339dcaf505:-7fe2'
2012-03-18 21:16:03,293 INFO [geoserver.catalog] - Disposing datastore 'DataStoreInfoImpl--29c72c3:13399168f85:-7fee'
2012-03-18 21:16:03,293 INFO [geoserver.catalog] - Disposing datastore 'DataStoreInfoImpl--29c72c3:13399168f85:-7ffa'
2012-03-18 21:16:03,293 INFO [geoserver.catalog] - Disposing datastore 'DataStoreInfoImpl--29c72c3:13399168f85:-7ff1'
2012-03-18 21:16:03,293 INFO [geoserver.catalog] - Disposing datastore 'DataStoreInfoImpl--29c72c3:13399168f85:-7ff7'
2012-03-18 21:16:03,293 INFO [geoserver.catalog] - Disposing datastore 'DataStoreInfoImpl--29c72c3:13399168f85:-7feb'
2012-03-18 21:16:03,293 INFO [geoserver.catalog] - Disposing datastore 'DataStoreInfoImpl--29c72c3:13399168f85:-7fdf'
2012-03-18 21:16:03,295 ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GWCCapabilitiesHomePageProvider' defined in URL [jar:file:/root/geoserver/webapps/geoserver/WEB-INF/lib/web-gwc-2.1.2.jar!/applicationContext.xml]: Cannot resolve reference to bean 'gwcFacade' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gwcFacade' defined in URL [jar:file:/root/geoserver/webapps/geoserver/WEB-INF/lib/gwc-2.1.2.jar!/geowebcache-geoserver-context.xml]: Cannot resolve reference to bean 'gwcTLDispatcher' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gwcTLDispatcher' defined in URL [jar:file:/root/geoserver/webapps/geoserver/WEB-INF/lib/gwc-2.1.2.jar!/geowebcache-core-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.geowebcache.layer.TileLayerDispatcher]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gwcXmlConfig' defined in URL [jar:file:/root/geoserver/webapps/geoserver/WEB-INF/lib/gwc-2.1.2.jar!/geowebcache-core-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.geowebcache.config.XMLConfiguration]: Constructor threw exception; nested exception is com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
---- Debugging information ----
message             : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
class               : org.geowebcache.config.GeoWebCacheConfiguration
required-type       : org.geowebcache.grid.SRS
-------------------------------
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
	at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
	at org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:18)
	at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.Server.doStart(Server.java:222)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
	at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:977)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.mortbay.start.Main.invokeMain(Main.java:183)
	at org.mortbay.start.Main.start(Main.java:497)
	at org.mortbay.start.Main.main(Main.java:115)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gwcFacade' defined in URL [jar:file:/root/geoserver/webapps/geoserver/WEB-INF/lib/gwc-2.1.2.jar!/geowebcache-geoserver-context.xml]: Cannot resolve reference to bean 'gwcTLDispatcher' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gwcTLDispatcher' defined in URL [jar:file:/root/geoserver/webapps/geoserver/WEB-INF/lib/gwc-2.1.2.jar!/geowebcache-core-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.geowebcache.layer.TileLayerDispatcher]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gwcXmlConfig' defined in URL [jar:file:/root/geoserver/webapps/geoserver/WEB-INF/lib/gwc-2.1.2.jar!/geowebcache-core-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.geowebcache.config.XMLConfiguration]: Constructor threw exception; nested exception is com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
---- Debugging information ----
		      Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
message             : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
class               : org.geowebcache.config.GeoWebCacheConfiguration
required-type       : org.geowebcache.grid.SRS
-------------------------------
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
	at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
	... 43 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gwcTLDispatcher' defined in URL [jar:file:/root/geoserver/webapps/geoserver/WEB-INF/lib/gwc-2.1.2.jar!/geowebcache-core-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.geowebcache.layer.TileLayerDispatcher]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gwcXmlConfig' defined in URL [jar:file:/root/geoserver/webapps/geoserver/WEB-INF/lib/gwc-2.1.2.jar!/geowebcache-core-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.geowebcache.config.XMLConfiguration]: Constructor threw exception; nested exception is com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
---- Debugging information ----
message             : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
class               : org.geowebcache.config.GeoWebCacheConfiguration
required-type       : org.geowebcache.grid.SRS
-------------------------------
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
	... 58 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.geowebcache.layer.TileLayerDispatcher]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gwcXmlConfig' defined in URL [jar:file:/root/geoserver/webapps/geoserver/WEB-INF/lib/gwc-2.1.2.jar!/geowebcache-core-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.geowebcache.config.XMLConfiguration]: Constructor threw exception; nested exception is com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
---- Debugging information ----
message             : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
class               : org.geowebcache.config.GeoWebCacheConfiguration
required-type       : org.geowebcache.grid.SRS
-------------------------------
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
	... 70 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gwcXmlConfig' defined in URL [jar:file:/root/geoserver/webapps/geoserver/WEB-INF/lib/gwc-2.1.2.jar!/geowebcache-core-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.geowebcache.config.XMLConfiguration]: Constructor threw exception; nested exception is com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
---- Debugging information ----
message             : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
class               : org.geowebcache.config.GeoWebCacheConfiguration
required-type       : org.geowebcache.grid.SRS
-------------------------------
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)
	at org.geowebcache.GeoWebCacheExtensions.extensions(GeoWebCacheExtensions.java:110)
	at org.geowebcache.GeoWebCacheExtensions.extensions(GeoWebCacheExtensions.java:130)
	at org.geowebcache.layer.TileLayerDispatcher.reInit(TileLayerDispatcher.java:109)
	at org.geowebcache.layer.TileLayerDispatcher.<init>(TileLayerDispatcher.java:59)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
	... 72 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.geowebcache.config.XMLConfiguration]: Constructor threw exception; nested exception is com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
---- Debugging information ----
message             : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
class               : org.geowebcache.config.GeoWebCacheConfiguration
required-type       : org.geowebcache.grid.SRS
-------------------------------
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
	... 93 more
Caused by: com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
---- Debugging information ----
message             : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
class               : org.geowebcache.config.GeoWebCacheConfiguration
required-type       : org.geowebcache.grid.SRS
-------------------------------
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:246)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:218)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:162)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
	at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:68)
	at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:246)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:218)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:162)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)
	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:899)
	at org.geowebcache.config.XMLConfiguration.loadConfiguration(XMLConfiguration.java:366)
	at org.geowebcache.config.XMLConfiguration.<init>(XMLConfiguration.java:178)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
	... 95 more
Caused by: com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor
	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.newInstance(PureJavaReflectionProvider.java:71)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:308)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:161)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
	... 124 more

错误由于jdk7使用xstream 1.3时出错,只要把xstream换成1.4就可以在jdk7使用了。当然也可以把jdk7改成jdk6。
分享到:
评论

相关推荐

    Geoserver和GeoWebCache发布WMTS服务

    而GeoWebCache则是一个用于缓存地图切片的开源项目,它能够极大地提高地图服务的性能,减少重复的数据处理工作。 #### 二、发布WMTS服务流程 **1. 准备工作** 在开始之前,确保已经安装并配置好Geoserver和...

    GeoServer 和GeoWebCache

    关于GeoServer地图缓存问题的研究.doc 基于GeoServer的WebGIS开发.pdf 基于GeoServer和OpenLayers的WebGIS实现.pdf 基于GOESERVER_2.0.2的地图发布(webgis作业).do 使用geoserver创建样式简单图解.doc 优化_...

    geoserver-2.15.1+geowebcache-1.15.0-war.rar

    如果你正在寻找一个开源的GIS解决方案,这个"geoserver-2.15.1+geowebcache-1.15.0-war.rar"压缩包无疑是一个值得尝试的选择。在实际操作中,确保阅读官方文档,了解每个组件的详细配置和使用方法,这将有助于你更好...

    geowebcache-1.21.0-war

    GeoWebCache,一个由Geoserver团队开发的开源地理空间缓存系统,是Web地图服务(WMS)性能优化的关键组件。在标题中提到的"geowebcache-1.21.0-war"是一个特定版本的GeoWebCache,它以WAR(Web ARchive)文件形式...

    geoserver gwc缓存的生成与失效

    为了启用缓存失效功能,需要在 Geoserver 的 classes 目录下新建一个 geowebcache.xml 文件。 在 geowebcache.xml 文件中,可以配置缓存失效的参数,包括自动更新缓存、设置缓存的过期时间等。例如,可以设置缓存的...

    openLayers geoserver常见问题

    GeoServer是一个开放源代码的服务器,用于共享和编辑地理数据,支持OGC的标准协议。以下是文件中提及的详细知识点: 1. 在OpenLayers中删除Layer中的marker,可以通过map对象的removeMarkers方法来实现。 2. 如果...

    geoserver源码以解析

    在进行GeoServer的二次开发时,理解其源码是至关重要的一步。这涉及到对GeoWebCache、WMS、WFS等服务的理解,以及对OGC标准的深入认识。本内容将详细探讨如何下载GeoServer源码,以及如何通过阅读源码来解析其工作...

    GeoServer3D开发环境配置

    GeoServer 是一个基于 Java 语言的开源地理空间数据服务器,提供了强大的地理空间数据管理和服务功能。为了进行 GeoServer 的二次开发,需要配置合适的开发环境。本文将主要介绍如何配置 GeoServer3D 的开发环境,...

    geoserver2.16集群.rar

    在GeoServer集群中,JMS可以作为异步通信的桥梁,当一个节点对数据进行修改时,会通过消息队列将这个变更通知给其他节点,确保数据的一致性。ActiveMQ是Apache项目下的一款开源消息中间件,它实现了JMS规范,可以...

    能够发布ArcGIS紧凑型切片的改进版Geoserver

    该Geoserver可以发布ArcGIS的紧凑型切片,并且可以使用OpenLayer以WMS方式加载数据

    geoserver-2.17.0.zip

    GeoServer 2.17.0 是一个开源的地理信息系统(GIS)服务器,它基于Java技术,用于发布和管理地理空间数据。这个版本是GeoServer的稳定版本之一,提供了多种功能和性能改进,旨在帮助用户更高效地处理地理信息。 ...

    GeoServer瓦片缓存机制研究

    GeoServer 作为一个基于 Java 的开源 GIS 服务器,具有成本低廉、良好的扩展性和部署的灵活性等特点。但是,在面对庞大地图数据、庞大的用户交互时,如果仅仅采用 GeoServer 作为 GIS 服务器,势必导致地图数据传输...

    geoserver-manager测试

    geoserver-manager是Java的一个库,它为GeoServer的REST API提供了方便的客户端接口。这个库简化了与REST API的交互,使开发者能够更轻松地执行如添加工作空间、发布数据、管理图层风格等操作。 3. **使用...

    GeoServer官网推荐书籍: Mastering GeoServer & GeoServer Beginner's Guide

    GeoServer是一款开源的地理信息系统(GIS)服务器,它支持OGC标准,如WMS、WFS等,用于发布和操作地理空间数据。这两本书籍,"Mastering GeoServer"和"GeoServer Beginner's Guide"是深入理解并掌握GeoServer的重要...

    基于geoserver专题图

    总的来说,基于GeoServer的专题图构建是一个从数据准备、服务发布、样式设计到客户端展示的完整流程。通过对数据的智能处理和可视化展示,GeoServer极大地增强了地理信息的表达能力,使得非专业用户也能轻松理解和...

    geoserver2.8.5.zip

    - 首先,你需要将"geoserver2.8.5.zip"解压缩,这将得到一个包含GeoServer所有组件的文件夹。 - 接下来,将解压后的文件夹移动到你的Tomcat服务器的`WEB-INF`目录下的`webapps`子目录。这是Tomcat默认的Web应用...

    openlayers 编辑geoserver图层

    OpenLayers是一个JavaScript库,用于在Web浏览器中显示地图,而GeoServer则是一个基于Java的服务,它允许用户发布、管理和操作地理空间数据。本资源主要针对初级学习者,介绍如何使用OpenLayers对GeoServer图层进行...

    geoserver2.22.5+pyramid-plugin

    Pyramid Plugin是针对GeoServer的一个插件,它引入了金字塔存储策略,提高了地图瓦片的访问速度。金字塔存储是一种分层级的数据组织方式,将大比例尺的地图拆分成多个小比例尺的瓦片,用户请求时只需加载对应比例尺...

    geoserver地图配置文档

    Geoserver 是一个基于开源的、功能强大且灵活的地图服务器,可以提供强大的地图服务,支持多种数据源和格式,包括 PostGIS、Shapefile、GeoTIFF 等。下面是 Geoserver 地图配置文档的详细知识点: 一、准备工作 1....

    GeoServer开发手册系列

    开发者需要了解OWS服务的基本概念,以及如何在GeoServer中实现一个简单的OWS服务。 九、REST服务 GeoServer也支持RESTful API,允许通过HTTP协议对GeoServer进行配置和操作。本部分介绍了基于Maps和反射实现的REST...

Global site tag (gtag.js) - Google Analytics