错问题:--谷粒商城--org.springframework.beans.factory.beancreationexception: error creating bean
做谷粒商城使用人人开源的时候,导入nacos时出现这个问题
最后发现是自己在导入时没有把这个版本改掉,最终出现问题,大概原因就是spring的版本和nacos的版本不匹配。
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.8.RELEASE</version> <relativePath/> </parent>