I'm using the twitter4j 2.1.11 jar, but Eclipse doesn't seem to be able to find classes within it. I added the jar as a referenced library, but get Twitter cannot be resolved to a type
when trying to use it. I can add imports like import twitter4j.*
but not import twitter4j.Twitter
.
I can tell the class is available as it is present when I open the jar in an archive viewer. How can I get Eclipse to behave?