Exception in thread “main“ java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableSet_exception in thread "main" noclassdeffounderror: i-CSDN博客

来源: Exception in thread “main“ java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableSet_exception in thread “main” noclassdeffounderror: i-CSDN博客

项目除了jdk,无法引入其他依赖,
报这个错误,

Exception in thread “main” java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableSet
at org.apache.maven.extension.internal.CoreExtensionEntry.<init>(CoreExtensionEntr
y.java:53)
at org.apache.maven.extension.internal.CoreExtensionEntry.discoverFrom(CoreExtensi
onEntry.java:107)

尝试找下这个pom,然后引入,就好了。。。。
删除了 发现项目依然是正常的。不知道为什么。。。。。。
猜测可能这个包丢失或者错误

<dependency>
<groupId>com.google.collect</groupId>
<artifactId>com.springsource.com.google.common.collect</artifactId>
<version>0.8.0.20080820</version>
</depe
————————————————

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

原文链接:https://blog.csdn.net/weixin_43094085/article/details/115083661

赞(0) 打赏
分享到: 更多 (0)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏