You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cartController' defined in file [D:\hmall\cart-service\target\classes\com\hmall\cart\controller\CartController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cartServiceImpl' defined in file [D:\hmall\cart-service\target\classes\com\hmall\cart\service\impl\CartServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'com.hmall.api.client.ItemClient': Requested bean is currently in creation: Is there an unresolvable circular reference?
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it hasn't had any recent activity.If you think this should still be open, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for your interest and contribution to the Sping Cloud Alibaba Community.
application.yaml:
server:
port: 8082
hm:
db:
database: hm-cart
host: localhost
swagger:
title: 购物车接口文档
package: com.hmall.cart.controller
spring:
cloud:
sentinel:
transport:
dashboard: localhost:8090 #控制台地址
http-method-specify: true #开启请求方式前缀(如:get请求,post请求)
main:
allow-circular-references: true
feign:
sentinel:
enabled: true
pom.xml:
4.0.0
com.heima
hmall
1.0.0
Parent Project pom.xml:
4.0.0
sentinel version:1.8.6
error:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cartController' defined in file [D:\hmall\cart-service\target\classes\com\hmall\cart\controller\CartController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cartServiceImpl' defined in file [D:\hmall\cart-service\target\classes\com\hmall\cart\service\impl\CartServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'com.hmall.api.client.ItemClient': Requested bean is currently in creation: Is there an unresolvable circular reference?
The text was updated successfully, but these errors were encountered: