添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caused by java.lang.NoClassDefFoundError: com.google.common.collect.ImmutableSet

Hi, when I download and use the new guice 4.0, I got this error.
I have looked into version 3.0 and 4.0 jar files and found that some classes including 'ImmutableSet.class' have been missing since version 4.0. The missing files were originally in 3.0 and keep thing works fine. Is there a dependency on 4.0 so that it can gets all those missing classes? Cheers

Full log:
java.lang.NoClassDefFoundError: com.google.common.collect.ImmutableSet
at com.google.inject.util.Modules$RealOverriddenModuleBuilder.(Modules.java:153)
at com.google.inject.util.Modules$RealOverriddenModuleBuilder.(Modules.java:149)
at com.google.inject.util.Modules.override(Modules.java:81)