Because Linux is used in the jdk1.8, so the online direct download Dubbo-admin.war basically 2.5.4 and below, if put into Tomcat, the following error message will be reported
caused By:org.springframework.beans.NotWritablePropertyException:Invalid prope
Rty ' Uritype ' of Bean class [Com.alibaba.citrus.service.uribroker.uri.GenericURI
Broker]: Bean property ' Uritype ' are not writable or have an invalid setter method
. Does the parameter type of the setter match the return type of the getter?
At Org.springframework.beans.BeanWrapperImpl.setPropertyValue (Beanwrappe
rimpl.java:801)
At Org.springframework.beans.BeanWrapperImpl.setPropertyValue (Beanwrappe
rimpl.java:651)
At Org.springframework.beans.AbstractPropertyAccessor.setPropertyValues (
abstractpropertyaccessor.java:78)
At Org.springframework.beans.AbstractPropertyAccessor.setPropertyValues (
ABSTRACTPROPERTYACCESSOR.JAVA:59)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applypropertyvalues (abstractautowirecapablebeanfactory.java:1276)
... More
You can download the Dubbo source code from GitHub and then repack it dubbo-admin and then deploy it without an error. I also packed a dubbo-admin file, this is support jdk1.8, everyone to my profile can find the download.
This article is from "Rookie Learning" blog, please make sure to keep this source http://biyusheng.blog.51cto.com/2626140/1864838
Online download dubbo-admin Console program startup error Bean property ' Uritype ' was not writable