gz-yami / mall4cloud

⭐️⭐️⭐️微服务商城系统 springcloud微服务商城 小程序商城

Home Page:https://www.mall4j.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

个别几个微服务启动报:Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/google/common/eventbus/AsyncEventBus

yangxiumin4759 opened this issue · comments

有五个服务启动时报:Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/google/common/eventbus/AsyncEventBus, 在报错的服务中添加guava依赖也一样报
1681744229911

我也碰到这个问题,我删除了父项目pom中的

<exclusions>
    <exclusion>
        <groupId>com.google.guava</groupId>
        <artifactId>guava</artifactId>
     </exclusion>
 </exclusions>

节点得到解决