title: class file for com.fasterxml.jackson.core.JsonParseException not found
body: <p>My project use Spring MVC for front End and EJB for back-end. when i use jackson to serialize and deserialize  json string in controller level bellow code working properly but service layer it gives an error "<strong>class file for com.fasterxml.jackson.core.JsonParseException not found</strong>"</p>
  
  <pre><code>ObjectMapper mapper = new ObjectMapper();
  Object convertedObject = mapper.readValue(jsonString, class);
  </code></pre>
  
  <p>and my module pom file include  dependency.</p>
  
  <pre><code>       &lt;dependency&gt;
          &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
          &lt;artifactId&gt;jackson-annotations&lt;/artifactId&gt;
          &lt;version&gt;2.3.0&lt;/version&gt;
        &lt;/dependency&gt;
  </code></pre>
  
  <p>this error comes wth <code>mapper</code> after creating object.</p>
  
  <p>Error: <code>Error:(247, 67) java: cannot access com.fasterxml.jackson.core.JsonParseException
    class file for com.fasterxml.jackson.core.JsonParseException not found</code></p>