title: Compile error: Cannot find symbol Suspend and AsynchronousResponse
body: <p>I'm trying to use asynchronous HTTP request processing feature with RESTEasy in a Camunda BPM example project (embedded-spring-rest). To test if existing <a href="https://github.com/camunda/camunda-bpm-examples/blob/master/deployment/embedded-spring-rest/pom.xml" rel="nofollow">pom file</a> is okay, I put import statements for <code>Suspend</code> and <code>AsynchronousResponse</code> in <code>RestProcessEngineDeployment.java</code>. But the maven compile failed.</p>
  
  <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project camunda-quickstart-embedded-spring-rest: Compilation failure: Compilation failure:
  [ERROR] /home/vagrant/works/eclipse-workspace/camunda-bpm-examples/deployment/embedded-spring-rest/src/main/java/org/camunda/bpm/example/loanapproval/rest/RestProcessEngineDeployment.java:[7,19] cannot find symbol
  [ERROR] symbol:   class Suspend
  [ERROR] location: package javax.ws.rs
  [ERROR] /home/vagrant/works/eclipse-workspace/camunda-bpm-examples/deployment/embedded-spring-rest/src/main/java/org/camunda/bpm/example/loanapproval/rest/RestProcessEngineDeployment.java:[8,24] cannot find symbol
  [ERROR] symbol:   class AsynchronousResponse
  [ERROR] location: package javax.ws.rs.core
  </code></pre>
  
  <p>The <a href="https://github.com/camunda/camunda-bpm-examples/blob/master/deployment/embedded-spring-rest/pom.xml" rel="nofollow">POM file</a> looks okay. It contains the necessary dependency:</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;org.jboss.resteasy&lt;/groupId&gt;
    &lt;artifactId&gt;resteasy-jaxrs&lt;/artifactId&gt;
    &lt;version&gt;3.0.8.Final&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>The <a href="https://github.com/camunda/camunda-bpm-examples/blob/master/deployment/embedded-spring-rest/src/main/webapp/WEB-INF/web.xml" rel="nofollow">web.xml file</a> also looks okay. It contains <code>filter</code> and <code>filter-mapping</code> as is suggested in <a href="http://docs.jboss.org/resteasy/docs/3.0.7.Final/userguide/html_single/index.html#filter" rel="nofollow">RESTEasy user guide</a>.</p>
  
  <pre><code>  &lt;filter&gt;
      &lt;filter-name&gt;Resteasy&lt;/filter-name&gt;
      &lt;filter-class&gt;
          org.jboss.resteasy.plugins.server.servlet.FilterDispatcher
      &lt;/filter-class&gt;
      &lt;init-param&gt;
          &lt;param-name&gt;javax.ws.rs.Application&lt;/param-name&gt;
          &lt;param-value&gt;org.camunda.bpm.example.loanapproval.rest.RestProcessEngineDeployment&lt;/param-value&gt;
      &lt;/init-param&gt;
    &lt;/filter&gt;
  
    &lt;filter-mapping&gt;
        &lt;filter-name&gt;Resteasy&lt;/filter-name&gt;
        &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
    &lt;/filter-mapping&gt;
  </code></pre>
  
  <p>Did I miss anything? Any clue as to how I can figure out the problem?</p>