报错信息

  1. APPLICATION FAILED TO START
  2. Description:
  3. The bean 'sentinelWebInterceptor', defined in class path
  4. resource [com/pig4cloud/pig/common/feign/sentinel/ext/PigSentinelFilterConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [com/alibaba/cloud/sentinel/SentinelWebAutoConfiguration.class] and overriding is disabled.
  5. Action:
  6. Consider renaming one of the beans or enabling overriding
  7. by setting spring.main.allow-bean-definition-overriding=true

解决方案

① 更新 pig_config.sql

image.png