dubbo學習時遇到的錯誤


Description:

The bean 'scanProductUserRepository', defined in null, could not be registered. A bean with that name has already been defined in null and overriding is disabled.

Action:

Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
 

解決辦法參考

https://blog.csdn.net/sinat_40284201/article/details/88377456

https://blog.csdn.net/qq_38366063/article/details/93178856

org.apache.dubbo.rpc.RpcException: No provider available from registry 127.0.0.1:2181 for service com.ifjanuary.service.UserService on consumer 10.254.147.20 use dubbo version 2.7.5, please check status of providers(disabled, not registered or in blacklist).
    at org.apache.dubbo.registry.integration.RegistryDirectory.doList(RegistryDirectory.java:579) ~[dubbo-2.7.5.jar:2.7.5]
    at org.apache.dubbo.rpc.cluster.directory.AbstractDirectory.list(AbstractDirectory.java:85) ~[dubbo-2.7.5.jar:2.7.5]
    at org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.list(AbstractClusterInvoker.java:287) ~[dubbo-2.7.5.jar:2.7.5]
    at org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:252) ~[dubbo-2.7.5.jar:2.7.5]
    

 

 

Failed to bind properties under 'server.port' to java.lang.Integer:

    Property: server.port
    Value: ${port}
    Origin: class path resource [application.yml] - 14:9
    Reason: failed to convert java.lang.String to java.lang.Integer

Action:

Update your application's configuration

https://blog.csdn.net/blueheart20/article/details/81480864 

 

https://blog.csdn.net/slg1988/article/details/93730089


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM