dubbo码农的世界微服务架构和实践

dubbo-admin在jdk1.8下报错问题

2017-08-29  本文已影响116人  就没一个昵称能用

在安装dubbo-admin的过程中遇到了问题,查看日志发现报错如下:

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 org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#25': 
Cannot create inner bean 'server' of type [com.alibaba.citrus.service.uribroker.uri.GenericURIBroker] while setting constructor argument; nested exception is org.springframework.beans.fact  
ory.BeanCreationException: 
Error creating bean with name 'server': Error setting property values; nested exception is org.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 parameter type of the setter match the return type of the getter? 
...

因为dubbo不支持jdk1.8,下载这个dubbo-admin,可以支持jdk1.8,不过需要一个积分

具体dubbo-admin的安装和配置戳这里

上一篇下一篇

猜你喜欢

热点阅读