title: java.lang.NoClassDefFoundError in NetBeans jersey restful web services on GlassFish for JodaTime library
body: <p>Hi I am currently using the JodaTime library in my NetBeans restful web services on GlassFish Server using Jackson libraries.</p>
  
  <p>I get a java.lang.NoClassDefFoundError for org/joda/time/ReadablePartial when I try to create an instance of a class that uses the JodaTime library in one of the Resource files.
  E.g:</p>
  
  <p>In the studentResource file:</p>
  
  <pre><code>     Controller c = new Controller();
  </code></pre>
  
  <p>Where the Controller class imports and uses JodaTime libraries</p>
  
  <p>I have checked that the libraries I needed are in the project.
  In fact, if I run a separate project outside of the restful web services, everything runs smoothly. Is there an additional classpath issue that I have to address?</p>