title: java.lang.NoClassDefFoundError: org/jadira/usertype/spi/shared/AbstractSingleColumnUserType
body: <p>I am using some classes from the UserType Library but I am getting some errors. Seems like there are some classes missing like for this error.</p>
  
  <p>org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/jadira/usertype/spi/shared/AbstractSingleColumnUserType</p>
  
  <p>Please guide me about what to do. First in the start i had downloaded 3.2.0 version, but I downgraded to 3.0.0 CR1 but still I am getting some class not found excecptions.</p>
  
  <p>Please help. This thing itself is taking much time...</p>
  
  <p>I am using Usertype like this...</p>
  
  <pre><code>package classes.mastertables;
  
  import javax.persistence.Column;
  import javax.persistence.Entity;
  import javax.persistence.Id;
  
  import org.hibernate.annotations.Type;
  import org.jadira.usertype.dateandtime.joda.PersistentLocalDate;
  
  
  @Entity
  public class BranchMaster {
  
  private String companyId;
  @Id
  private String branchId;
  @Column(unique=true)
  private String branchNm;
  private String branchOfficeAddress;
  @Column(unique=true)
  private long branchOfficeTel;
  @Column(unique=true)
  private long branchOfficeFax;
  private String branchOfficeCity;
  private String branchOfficeStateCode;
  private String branchOfficeCountryCode;
  private String branchTypeId;
  private String parentBranchId;
  private Boolean activeFlg;
  private Boolean isBranchOnline;
  private String createdBy;
  @Column 
  @Type(type="org.jadira.usertype.dateandtime.joda.PersistentLocalDate")
  private PersistentLocalDate createdDt;//modified to String
  private String modifiedBy;
  @Column 
  @Type(type="org.jadira.usertype.dateandtime.joda.PersistentLocalDate")
  private PersistentLocalDate modifiedDt;//modified to String
  private String dateFormat;
  //Getters and settters follow 
  </code></pre>
  
  <p>In Hibernate.cfg.xml i am adding these 2 lines</p>
  
  <pre><code>&lt;mapping class="org.jadira.usertype.dateandtime.joda.PersistentLocalDate" /&gt;
      &lt;mapping class="org.jadira.usertype.dateandtime.joda.PersistentLocalDateTime" /&gt;
  </code></pre>
  
  <p>Please guide...</p>
  
  <p>Thanks,
  Abhijeet.</p>