我框架3.10.0连接nacos一直反馈服务未注册

提问 7 718
版本:renren-cloud 3.10.0 开发环境:jdk8 ,nacos2.1.1
2023-01-31 15:03:29,212 WARN There are no [com.alibaba.nacos.common.trace.event.naming.SubscribeServiceTraceEvent] publishers for this event, please register 2023-01-31 15:03:29,253 WARN There are no [com.alibaba.nacos.common.trace.event.naming.RegisterInstanceTraceEvent] publishers for this event, please register 2023-01-31 15:03:30,101 WARN There are no [com.alibaba.nacos.common.trace.event.naming.PushServiceTraceEvent] publishers for this event, please register 2023-01-31 15:04:38,641 WARN There are no [com.alibaba.nacos.common.trace.event.naming.SubscribeServiceTraceEvent] publishers for this event, please register 2023-01-31 15:04:38,836 WARN There are no [com.alibaba.nacos.common.trace.event.naming.SubscribeServiceTraceEvent] publishers for this event, please register 2023-01-31 15:04:39,191 WARN There are no [com.alibaba.nacos.common.trace.event.naming.PushServiceTraceEvent] publishers for this event, please register 2023-01-31 15:04:39,405 WARN There are no [com.alibaba.nacos.common.trace.event.naming.PushServiceTraceEvent] publishers for this event, please register 2023-01-31 15:04:39,583 WARN There are no [com.alibaba.nacos.common.trace.event.naming.RegisterInstanceTraceEvent] publishers for this event, please register 2023-01-31 15:04:40,188 WARN There are no [com.alibaba.nacos.common.trace.event.naming.PushServiceTraceEvent] publishers for this event, please register 启动项目nacos 报这异常 模块有些连接上有些报: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class
回帖
  • 这个应该是没有连接上nacos,本地需要配置一下hosts
    0 回复
  • 朗晟科技
    2023-01-31
    application.properties配置文件吗nacos.inetutils.ip-address配置这个吗
    0 回复
  • 朗晟科技
    2023-01-31
    img[//cdn.renren.io/75cd4202301311549365243.jpg]
    0 回复
  • 朗晟科技
    2023-01-31
    我这里也配置了地址,目前admin模块和auth模块启动都是没有问题但是oss模块启动就不行
    0 回复
  • 无法定位问题了,可以看下命名空间,账号密码等这些信息是否正确
    0 回复
  • 朗晟科技
    2023-01-31
    这些我都对比过了是正确的
    0 回复
  • 朗晟科技
    2023-01-31
    Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.原因我找到了是yml文件位置不对但是nacos报:[com.alibaba.nacos.common.trace.event.naming.PushServiceTraceEvent] publishers for this event, please register我发现2.1.0版本不会出现这问题 2.1.1启动就报这问题
    0 回复