Dubbo Admin Console starts an error

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.