title: @Value annotation not resolved
body: <p>I'm creating a sample project as mentioned in <a href="http://www.mkyong.com/spring3/spring-el-hello-world-example/" rel="nofollow">MKyong's tutorial.</a> I am using eclipse. When I created the project, I could not find any way to write a <code>@Value</code> annotation.</p>
  
  <p>I know it seems stupid, but I am not able to solve this problem at all. Can you please help?</p>
  
  <pre><code>...
  import org.springframework.beans.factory.annotation.*;
  import org.springframework.beans.factory.InitializingBean;
  import org.springframework.stereotype.Component;
  
  @Component ("newSession")
  public class Session implements DisposableBean, InitializingBean {
  
      @Value ("3232")
      private int id;
  ...
  </code></pre>
  
  <p>pom.xml:</p>
  
  <pre class="lang-xml prettyprint-override"><code>...
  &lt;properties&gt;
      &lt;spring.version&gt;3.0.5.RELEASE&lt;/spring.version&gt;
  &lt;/properties&gt;
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring&lt;/artifactId&gt;
          &lt;version&gt;2.5.6&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;junit&lt;/groupId&gt;
          &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;version&gt;3.8.1&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;!-- Spring 3 dependencies --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
          &lt;version&gt;${spring.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
          &lt;version&gt;${spring.version}&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  ....
  </code></pre>
  
  <p>Apologies for the bad indentation (lots of copy-paste) and the silly question.</p>