title: Hibernate - Problem in parsing mapping file (.hbm.xml)
body: <p>I am new to Hibernate. I have an exception while running an Hibernate-based application. The exception is as follows:</p>
  
  <pre><code>16 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.3.2.GA
  16 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
  16 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
  31 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp     handling
  94 [main] INFO org.hibernate.cfg.Configuration - configuring from resource: /hibernate.cfg.xml
  94 [main] INFO org.hibernate.cfg.Configuration - Configuration resource: /hibernate.cfg.xml
  219 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource : app/data/City.hbm.xml
  266 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(12) Attribute "coloumn" must be declared for element type "property".
  266 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(13) Attribute "coloumn" must be declared for element type "property".
  266 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(14) Attribute "coloumn" must be declared for element type "property".
  </code></pre>
  
  <p>It seems that it is not finding <code>coloumn</code> attribute of the <code>property</code> element in the mappings file but my mappings file do have the <code>coloumn</code> attribute.</p>
  
  <p>Below is the mappings file (City.hbm.xml)</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"&gt;
  
  &lt;hibernate-mapping package="app.data"&gt;
  
    &lt;class name="City" table="CITY"&gt;
  
      &lt;id column="CITY_ID" name="cityId"&gt;
        &lt;generator class="native"/&gt;
      &lt;/id&gt;
  
      &lt;property name="cityDisplyaName" coloumn="CITY_DISPLAY_NAME" /&gt;
      &lt;property coloumn="CITY_MEANINGFUL_NAME" name="cityMeaningFulName" /&gt;
      &lt;property coloumn="CITY_URL" name="cityURL" /&gt;
  
    &lt;/class&gt;
  
  &lt;/hibernate-mapping&gt;
  </code></pre>