GeoServer启用GeoWebCache时的一个错误

您所在的位置:网站首页 电脑没有hdr功能,怎么调出来 GeoServer启用GeoWebCache时的一个错误

GeoServer启用GeoWebCache时的一个错误

2024-05-07 22:45| 来源: 网络整理| 查看: 265

2012-03-18 21:16:01,537 INFO [jdbc.JDBCMBWrapper] - MetaStore database is version 1202012-03-18 21:16:01,584 INFO [config.XMLConfiguration] - No configuration directory was specified, using /root/geoserver/webapps/geoserver/WEB-INF/classes/geowebcache.xml2012-03-18 21:16:01,584 INFO [config.XMLConfiguration] - Found configuration file in /root/geoserver/webapps/geoserver/WEB-INF/classes2012-03-18 21:16:01,590 INFO [config.XMLConfiguration] - Updating configuration from 1.2.2 to 1.2.42012-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 StorageBroker2012-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 failedorg.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 constructorcause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessExceptioncause-message : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructorclass : org.geowebcache.config.GeoWebCacheConfigurationrequired-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 constructormessage : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructorcause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessExceptioncause-message : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructorclass : org.geowebcache.config.GeoWebCacheConfigurationrequired-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 moreCaused 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 constructorcause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessExceptioncause-message : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructorclass : org.geowebcache.config.GeoWebCacheConfigurationrequired-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 moreCaused 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 constructorcause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessExceptioncause-message : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructorclass : org.geowebcache.config.GeoWebCacheConfigurationrequired-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 moreCaused 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 constructorcause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessExceptioncause-message : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructorclass : org.geowebcache.config.GeoWebCacheConfigurationrequired-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.(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 moreCaused 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 constructorcause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessExceptioncause-message : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructorclass : org.geowebcache.config.GeoWebCacheConfigurationrequired-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 moreCaused 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 constructorcause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessExceptioncause-message : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructorclass : org.geowebcache.config.GeoWebCacheConfigurationrequired-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.(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 moreCaused 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

[color=red]错误由于jdk7使用xstream 1.3时出错,只要把xstream换成1.4就可以在jdk7使用了。当然也可以把jdk7改成jdk6。[/color] 转载自:https://blog.csdn.net/iteye_15538/article/details/82298706

相关推荐GeoServer安装、运行、升级指南关于GeoServerGeoServer安装连接Oracle发布服务完整教程附下载地址PostGIS教程十九:维数扩展的9交集模型解决geocore跨域访问geoserver为何设置的样式没有反应?


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3