I'm trying to use Guava without Maven on Eclipse. I downloaded the JAR file from here and then followed this. However, when I try to run
Set<Set<Card>> combos = Sets.combinations(ImmutableSet.copyOf(board),3);
where board is an array of objects, I get this exception
Exception in thread "Thread-2" java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableSet
My imports are
import java.util.Set; import com.google.common.collect.*;
I get the same error for any other classes from Guava.
My current package looks like this
What am I missing?