日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

dubbo-admin在jdk 1.8上部署出錯問題

系統(tǒng) 2220 0

今天在linux上部署dubbo-admin-2.5.4,一直報錯:

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.impl.URIBrokerServiceImpl$URIBrokerInfo] while setting bean property 'brokers' with key [0]; nested excepti
on is 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'
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.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)

仔細對比了一下部署成功的環(huán)境,發(fā)現(xiàn)配置沒有什么不同。于是重新下載了一個部署包,也在自己的電腦上安裝了一次,還是報同樣的錯誤。

反編譯dubbo的代碼看了一下,發(fā)現(xiàn)getter和setter方法確實不是很符合規(guī)范:

dubbo-admin在jdk 1.8上部署出錯問題

折騰了半天,終于在網(wǎng)上找到遇到同樣問題的帖子,見https://github.com/alibaba/dubbo/issues/50

重新安裝了jdk 1.7后,問題解決。

dubbo-admin在jdk 1.8上部署出錯問題


更多文章、技術交流、商務合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯(lián)系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 余干县| 温泉县| 河西区| 琼结县| 涿鹿县| 澎湖县| 喀什市| 普安县| 苏州市| 阿拉尔市| 碌曲县| 日照市| 寻乌县| 台东县| 邯郸县| 田阳县| 华亭县| 崇明县| 即墨市| 康马县| 娱乐| 望奎县| 栖霞市| 恩施市| 黄平县| 镇平县| 台山市| 长岛县| 永嘉县| 仙游县| 岢岚县| 双辽市| 西乌| 乐至县| 桂东县| 朝阳区| 汝城县| 九台市| 营山县| 呼玛县| 湘潭县|