11
我正在使用twitter4j 2.1.11 jar,但Eclipse似乎無法在其中找到類。我將該jar添加爲引用的庫,但在嘗試使用它時獲取Twitter cannot be resolved to a type
。我可以添加像import twitter4j.*
這樣的導入,但不能添加import twitter4j.Twitter
。Eclipse無法在twitter4j中找到Twitter類
我可以告訴該類是可用的,因爲它在存檔查看器中打開jar時存在。我怎樣才能讓Eclipse的行爲?
我忘記了這個問題。儘管如此,我想認爲SO並不純粹是爲了獲取代表權。 – Ross 2011-05-05 14:30:42