title: java.lang.ClassNotFoundException: org.codehaus.jettison.mapped.MappedXMLOutputFactory
body: <p>I am getting <code>java.lang.ClassNotFoundException: org.codehaus.jettison.mapped.MappedXMLOutputFactory</code> error while running mule application. I checked jettison-1.1.jar jar is already there in my application folder lib directory but still I am getting this error.
  I am getting this error while initialising Spring batch job repository.</p>
  
  <pre><code>java.lang.ClassNotFoundException: org.codehaus.jettison.mapped.MappedXMLOutputFactory
          at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
          at com.thoughtworks.xstream.io.json.JettisonMappedXmlDriver.&lt;init&gt;(JettisonMappedXmlDriver.java:36)
          at org.springframework.batch.core.repository.dao.XStreamExecutionContextStringSerializer.init(XStreamExecutionContextStringSerializer.java:67)
          at org.springframework.batch.core.repository.dao.XStreamExecutionContextStringSerializer.afterPropertiesSet(XStreamExecutionContextStringSerializer.java:62)
          at org.springframework.batch.core.repository.support.JobRepositoryFactoryBean.afterPropertiesSet(JobRepositoryFactoryBean.java:182)
          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1469)
  </code></pre>