pangleeee commented on issue #1618: dubbo admin平台windows下搭建
URL: 
https://github.com/apache/incubator-dubbo/issues/1618#issuecomment-381849823
 
 
   @htynkn 
   谢谢,之前就是这么打包的,但是tomcat启动报错 
    `ERROR context.ContextLoader - Context initialization failed
   org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'productionModeSensiblePostProcessor': Cannot create inner bean 
'(inner bean)#4b2f357c' of type 
[com.alibaba.citrus.springext.util.SpringExtUtil$ConstructorArg] while setting 
constructor argument; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name '(inner bean)#4b2f357c': FactoryBean threw exception on object 
creation; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'registryService': Instantiation of bean failed; nested exception is 
java.lang.ExceptionInInitializerError
           at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:287)
           at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:129)
           at 
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:637)
           at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1077)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:981)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
           at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
           at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
           at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
           at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)
           at 
org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:758)
           at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
           at 
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
           at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
           at 
com.alibaba.citrus.webx.context.WebxComponentsLoader.initWebApplicationContext(WebxComponentsLoader.java:117)
           at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
           at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
           at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5641)
           at 
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
           at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1015)
           at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:991)
           at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
           at 
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1127)
           at 
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:2020)
           at java.util.concurrent.Executors$RunnableAdapter.call(Unknown 
Source)
           at java.util.concurrent.FutureTask.run(Unknown Source)
           at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
   Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name '(inner bean)#4b2f357c': FactoryBean threw exception on 
object creation; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'registryService': Instantiation of bean failed; nested exception is 
java.lang.ExceptionInInitializerError
           at 
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:173)
           at 
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:126)
           at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:279)
           ... 30 more
   Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'registryService': Instantiation of bean failed; nested 
exception is java.lang.ExceptionInInitializerError
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1039)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:985)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck(AbstractAutowireCapableBeanFactory.java:809)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:738)
           at 
org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:526)
           at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:359)
           at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:327)
           at 
org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:186)
           at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:906)
           at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:864)
           at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:779)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveDependency(AbstractAutowireCapableBeanFactory.java:324)
           at 
com.alibaba.citrus.springext.util.SpringExtUtil$ConstructorArg.getObject(SpringExtUtil.java:566)
           at 
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:166)
           ... 32 more
   Caused by: java.lang.ExceptionInInitializerError
           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown 
Source)
           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
Source)
           at java.lang.reflect.Constructor.newInstance(Unknown Source)
           at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
           at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
           at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1032)
           ... 45 more
   Caused by: java.lang.IllegalStateException: fail to create adaptive 
instance: java.lang.IllegalStateException: Can not create adaptive extension 
interface com.alibaba.dubbo.rpc.Protocol, cause: fail to create adaptive 
instance: java.lang.NoSuchMethodError: 
java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
           at 
com.alibaba.dubbo.common.extension.ExtensionLoader.getAdaptiveExtension(ExtensionLoader.java:447)
           at 
com.alibaba.dubbo.config.ReferenceConfig.<clinit>(ReferenceConfig.java:67)
           ... 52 more
   Caused by: java.lang.IllegalStateException: Can not create adaptive 
extension interface com.alibaba.dubbo.rpc.Protocol, cause: fail to create 
adaptive instance: java.lang.NoSuchMethodError: 
java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
           at 
com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtension(ExtensionLoader.java:710)
           at 
com.alibaba.dubbo.common.extension.ExtensionLoader.getAdaptiveExtension(ExtensionLoader.java:443)
           ... 53 more
   Caused by: java.lang.IllegalStateException: fail to create adaptive 
instance: java.lang.NoSuchMethodError: 
java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
           at 
com.alibaba.dubbo.common.extension.ExtensionLoader.getAdaptiveExtension(ExtensionLoader.java:447)
           at 
com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClass(ExtensionLoader.java:725)
           at 
com.alibaba.dubbo.common.extension.ExtensionLoader.getAdaptiveExtensionClass(ExtensionLoader.java:719)
           at 
com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtension(ExtensionLoader.java:708)
           ... 54 more
   Caused by: java.lang.NoSuchMethodError: 
java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
           at 
com.alibaba.dubbo.common.utils.ConcurrentHashSet.iterator(ConcurrentHashSet.java:49)
           at 
com.alibaba.dubbo.config.spring.extension.SpringExtensionFactory.getExtension(SpringExtensionFactory.java:42)
           at 
com.alibaba.dubbo.common.extension.factory.AdaptiveExtensionFactory.getExtension(AdaptiveExtensionFactory.java:46)
           at 
com.alibaba.dubbo.common.extension.ExtensionLoader.injectExtension(ExtensionLoader.java:520)
           at 
com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtension(ExtensionLoader.java:708)
           at 
com.alibaba.dubbo.common.extension.ExtensionLoader.getAdaptiveExtension(ExtensionLoader.java:443)
           ... 57 more
   四月 17, 2018 1:34:33 下午 org.apache.catalina.core.StandardContext 
startInternal`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to