您好请问一下按照CSDN上Nebula Graph-06-NebulaGraph Java 使用 和SpringBoot集成Nebula Graph的这篇文章一样的配置,到封装完NebulaTemplate类以后,写了一个测试类去测试,但是配置不到值,报错Error creating bean with name 'nebulaPool' defined in class path resource [com/youlai/system/config/NebulaConfig.class]: Failed to instantiate [com.vesoft.nebula.client.graph.net.NebulaPool]: Factory method 'nebulaPool' threw exception with message: Cannot invoke "java.util.List.stream()"。显示因为 NebulaProperties.getAddress() 返回了 null 值,但是这个方法应该得到一个 List 对象。也就是NebulaProperties 中的 address 属性没有被正确配置上去,还是null值。请问这个怎么解决呀?大家可以帮我看一下吗?
相似问题