title: ClassNotFoundException when starting Maven 2 RCP application
body: <p>I've started a very basic Eclipse (Helios) RCP application with the "Hello RCP" template.</p>
  
  <p>I enabled Maven dependency management and added Spring 3 to the POM.</p>
  
  <p>After that I created a view and added the following code to my view.</p>
  
  <pre><code>@Override
  public void createPartControl(Composite parent) {
   RestTemplate restTemplate = new RestTemplate();
      String result = restTemplate.getForObject("http://www.example.com:8080/rest/{page}/{id}" , String.class, "mypage", "someid");
   Text text = new Text(parent, SWT.BORDER);
   text.setText(result);
  }
  </code></pre>
  
  <p>When I run the application, I get the following exception,</p>
  
  <pre><code>java.lang.ClassNotFoundException: org.springframework.web.client.RestTemplate
  ...
  </code></pre>
  
  <p>I can post the rest if need be.</p>
  
  <p>I'm wondering how I can add the maven dependencies to my classpath or if something else may be the problem?</p>
  
  <p>Thanks</p>