解决dubboJDK8无法运行,此包可以实现的dubbo-admin版本兼容jdk1.8

下面的资源:
http://download.csdn.net/detail/liuweiqiang_neu/8086929
如果是在JDK8下跑,会报错:
org.springframework.beans.NotWritablePropertyException: Invalid property 'UR

IType' 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?

把其中的spring2的系列JAR包换成了spring3的,就可以在JDK8下正常运行了。

使用方法:
1. 删除tomcat webapps下面的ROOT目录
2. 解压本文件,然后把ROOT目录整体copy过去
3. 运行tomcat,然后访问tomcat根目录地址
(注意里面的WE
                            B-INF/dubbo.properties中zookeeper的地址配置正确并且zookeeper服务正在运行)
默认用户
root
root            

猜你喜欢

转载自blog.csdn.net/ganwei793089452/article/details/80045122
今日推荐