網上下載的dubbo-admin控制台程式啟動報錯Bean property 'URIType' is not writable

來源:互聯網
上載者:User

標籤:dubbo-admin啟動報錯

因為linux中使用的是jdk1.8,所以網上直接下載的dubbo-admin.war基本是2.5.4及以下的,如果放入tomcat中啟動會報以下錯誤資訊

Caused by: org.springframework.beans.NotWritablePropertyException: Invalid prope

rty ‘URIType‘ of bean class [com.alibaba.citrus.service.uribroker.uri.GenericURI

Broker]: 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?

       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)

       ... 50 more

大家自己從github上下載dubbo的源碼然後重新打包dubbo-admin之後再部署就不會報錯了。我也打包好了一個dubbo-admin檔案,這個是支援jdk1.8的,大家去我的資料裡即可找到下載。


本文出自 “菜鳥學習” 部落格,請務必保留此出處http://biyusheng.blog.51cto.com/2626140/1864838

網上下載的dubbo-admin控制台程式啟動報錯Bean property 'URIType' is not writable

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.