title: NoClassDefFoundError using jcifs library
body: <p>I have a Maven project (ejb container) where I need to use the jcifs library.
  I made the entries in pom.xml like:</p>
  
  <pre><code>&lt;dependency&gt;
       &lt;groupId&gt;jcifs&lt;/groupId&gt;
       &lt;artifactId&gt;jcifs&lt;/artifactId&gt;
       &lt;version&gt;1.3.17&lt;/version&gt;
       &lt;type&gt;jar&lt;/type&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Everything is okay, I see the jar file inside the ear package, I see it also in the dependencies of the project, I can use the classes but at runtime I get:</p>
  
  <pre><code>javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: jcifs/smb/SmbFile
  at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
  </code></pre>
  
  <p>What am I doing wrong?</p>