Reference:
Installing the Dubbo Management Console
2.5.4-snapshot Dubbo Admin Error
Download Dubbo-admin-2.5.4.war
Using the Dubbo Management console for the first time, after you start Tomcat, access the URL error, view the Tomcat startup log, and discover the following errors:
The ERROR context. Contextloader-context initialization failed Org.springframework.beans.factory.BeanCreationException:Error creating Bean with Name ' Uribrokerservice ': Cannot create inner bean ' (inner bean) ' of type [com.alibaba.citrus.service.uribroker.i Mpl. Uribrokerserviceimpl$uribrokerinfo] While the setting bean property ' brokers ' with key [0]; Nested excepti on are 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 ' isn't writable or has an 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)
To view GitHub related issue, there are two solutions: 1. Replace Jdk8
dubbo-admin-2.5.4 does not support JDK8, highest support to jdk1.7
This method is most convenient. 2. Upgrade the used Spring package
The contents of the Lib package in the original War package:
What's changed:
3.1.4 packages can be downloaded either on their own, or in local repository. 3. Tips
The other related tutorial on building a management desk is to delete all the contents of the root directory under the WebApps directory under the Tomcat directory and copy all the contents of this war package to the empty root directory. Because there are some buttons in the admin interface that are accessed in the same way, not doing so has a certain effect on the page friendliness.