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

posted @ 2020-11-22 21:50  爱吃芒果的牛  阅读(2575)  评论(0编辑  收藏  举报