title: The import javax.inject cannot be resolved while import Guava source
body: <p>i would like to use the <a href="https://code.google.com/p/guava-libraries/wiki/ReflectionExplained" rel="nofollow noreferrer">Guava's TypeToken</a>, then i downloaded the Guava Release 14.0 from <a href="https://code.google.com/p/guava-libraries/wiki/Release14" rel="nofollow noreferrer">here</a>. (i assume 14.0 is more stable than 15.0 rc.)</p>
  
  <pre><code>guava-14.0.1-sources.jar (Source) 
  http://search.maven.org/remotecontent?filepath=com/google/guava/guava/14.0.1/guava-14.0.1-sources.jar
  </code></pre>
  
  <p>Unzip the downloaded <code>guava-14.0.1-sources.jar</code> into a folder.</p>
  
  <p>Then i created a Java 1.7 project in Eclipse.</p>
  
  <p>And linked the source in Eclipse by <code>Java Build Path -&gt; Source -&gt; Link Source...</code>.</p>
  
  <p><em>Note i am <strong>not</strong> using (and don't know how to use) any build systems like Maven.</em></p>
  
  <p>First i got a problem of <code>The import javax.annotation.Nullable cannot be resolved</code>. <strong>But this is solved already.</strong> i followed the thread <a href="http://code.google.com/p/guava-libraries/issues/detail?id=776" rel="nofollow noreferrer">here</a> to download <a href="http://search.maven.org/remotecontent?filepath=com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar" rel="nofollow noreferrer">jsr305-2.0.1.jar</a> from <a href="http://search.maven.org/#search%7Cgav%7C1%7Cg:%22com.google.code.findbugs%22%20AND%20a:%22jsr305%22" rel="nofollow noreferrer">this page</a>. (i assume 2.0.1 is the most latest release.)</p>
  
  <p>Secondly i got the <code>rt.jar access restriction</code> problem like <a href="https://stackoverflow.com/questions/860187/access-restriction-on-class-due-to-restriction-on-required-library-rt-jar">this one</a>. <strong>This is also solved</strong> by simply re-add the JRE System Library, like the answer there.</p>
  
  <p>Now i got this problem that i cannot solve, and there are no solutions from the web.</p>
  
  <p>In package <code>com.google.common.util.concurrent</code> class <code>ServiceManager</code>, there are a few compile errors.</p>
  
  <pre><code>import javax.inject.Inject;         // The import javax.inject cannot be resolved
  import javax.inject.Singleton;      // The import javax.inject cannot be resolved
  </code></pre>
  
  <p>To my understanding, this is a similar problem with the "first problem". But the <code>jsr305-2.0.1.jar</code> includes <code>javax.annotation.Nullable</code>, but it does not include <code>javax.inject.*</code>. What i need is a Java library that includes <code>javax.inject.*</code>.</p>
  
  <p>Could you please help? Thanks a lot!</p>