Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 665289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:41:30+00:00 2026-05-13T23:41:30+00:00

I am new to Hibernate. I have an exception while running an Hibernate-based application.

  • 0

I am new to Hibernate. I have an exception while running an Hibernate-based application. The exception is as follows:

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".

It seems that it is not finding coloumn attribute of the property element in the mappings file but my mappings file do have the coloumn attribute.

Below is the mappings file (City.hbm.xml)

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping package="app.data">

  <class name="City" table="CITY">

    <id column="CITY_ID" name="cityId">
      <generator class="native"/>
    </id>

    <property name="cityDisplyaName" coloumn="CITY_DISPLAY_NAME" />
    <property coloumn="CITY_MEANINGFUL_NAME" name="cityMeaningFulName" />
    <property coloumn="CITY_URL" name="cityURL" />

  </class>

</hibernate-mapping>
  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T23:41:31+00:00Added an answer on May 13, 2026 at 11:41 pm

    You mean column. It’s complaining because coloumn is not a valid attribute of <property>

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm quite new to hibernate and have stumbled on this problem, which I can't
Hi i am new to hibernate technology and i have few issues. Suppose if
I'm new to Hibernate and I'm struggling with problem: I have 3 tables and
I am new to hibernate and I am stumped. In my database I have
im new in hibernate and JPA and i have some problems with annotations. My
I have a web-application which uses hibernate and for some reason every thread (httprequest
I have hibernate.cfg.xml file. <session-factory> <!-- Database connection settings --> <property name=connection.driver_class>com.mysql.jdbc.Driver</property> <property name=connection.url></property>
I have an application that uses Hibernate to connect to my MySQL database. I'm
I'm new in Spring Framework (2.5.6) and I have Hibernate integration problem on Glassfish
I am pretty new to hibernate and I am stuck at this exception. As

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.