dubbo发布到tomcat7之后无法访问,提示404,日志显示启动报错

发布在webapps目录下
图片说明
但访问报错
图片说明
8080可以正常访问,而且manager app下显示/dubbo的running状态为false
图片说明
启动日志如下:
May 26, 2017 1:10:34 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
May 26, 2017 1:10:34 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
May 26, 2017 1:10:34 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCa
che', 'org.apache.jasper.compiler.TldLocationsCache@5fdddbf6')
May 26, 2017 1:10:38 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing log4j system
May 26, 2017 1:10:38 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
May 26, 2017 1:10:47 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.alibaba.citrus.webx.context.WebxContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean wit
h name 'uriBrokerService': Cannot create inner bean '(inner bean)' of type [com.
alibaba.citrus.service.uribroker.impl.URIBrokerServiceImpl$URIBrokerInfo] while
setting bean property 'brokers' with key [0]; nested exception is org.springfram
ework.beans.factory.BeanCreationException: Error creating bean with name '(inner
bean)#25': Cannot create inner bean 'server' of type [com.alibaba.citrus.servic
e.uribroker.uri.GenericURIBroker] while setting constructor argument; nested exc
eption is org.springframework.beans.factory.BeanCreationException: Error creatin
g bean with name 'server': Error setting property values; nested exception is or
g.springframework.beans.NotWritablePropertyException: Invalid property 'URIType'
of bean class [com.alibaba.citrus.service.uribroker.uri.GenericURIBroker]: Bean
property 'URIType' is not writable or has an invalid setter method. Does the pa
rameter type of the setter match the return type of the getter?
at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveInnerBean(BeanDefinitionValueResolver.java:230)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveManagedList(BeanDefinitionValueResolver.java:287)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
"localhost.2017-05-26.log" 362L, 43836C 1,1 Top
May 26, 2017 1:10:34 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
May 26, 2017 1:10:34 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
May 26, 2017 1:10:34 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@5fdddbf6')
May 26, 2017 1:10:38 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing log4j system
May 26, 2017 1:10:38 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
May 26, 2017 1:10:47 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.alibaba.citrus.webx.context.WebxContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uriBrokerService': Cannot create inner bean '(inner bean)' of type
[com.alibaba.citrus.service.uribroker.impl.URIBrokerServiceImpl$URIBrokerInfo] while setting bean property 'brokers' with key [0]; nested exception is or
g.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#25': Cannot create inner bean 'server' of type [com.ali
baba.citrus.service.uribroker.uri.GenericURIBroker] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreation
Exception: Error creating bean with name 'server': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyExcepti
on: Invalid property 'URIType' of bean class [com.alibaba.citrus.service.uribroker.uri.GenericURIBroker]: Bean property 'URIType' is not writable or has a
n invalid setter method. Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
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:222)
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:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)

求大神们帮忙看看什么情况
(zookeeper已经启动了)

1个回答

换个更高版本的tomcat试一下

qq_40021661
天涯人副天 回复若真大地: 把jdk换成低版本的 或者换dubbo-admin的war包
一年多之前 回复
qq_39228620
若真大地 回复char3: 你解决了吗
一年多之前 回复
char3
char3 换过了,折腾好半天,jdk也换过1.8,tomcat换的8,都不行
大约 3 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐