where to put applicationcontext.xml and .hbm files?
I'm learning spring hibernate zk stack, and doing my first crud following [this tutorial][1]
I put applicationContext.xml into webapp/WEB-INF, and .hbm.xml to resources/mappings
But I dont know why my hbm files keep showing can not find my pojos.

in github [https://github.com/kossel/firstzk][2]

I have this structure

![enter image description here][3]

applicationContext.xml

      <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
            <property name="dataSource" ref="dataSource" />
            <!-- set other Hibernate properties in hibernate.cfg.xml file -->
            <property name="configLocation" value="classpath:/com/iknition/firstzk/hibernate/hibernate.cfg.xml" />
        </bean>

hibernate.cfg.xml

    <mapping resource="com/iknition/firstzk/hibernate/Company.hbm.xml" />

Company.hbm.xml

    <?xml version="1.0"?>
    <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
    <hibernate-mapping package="com.iknition.firstzk.beans">
        <class name="Contact" table="contact">
            <id name="idcontact" column="idcontact" type="integer">
                <generator class="increment" />
            </id>
            <property name="name" column="name" type="string" />
            <property name="email" column="email" type="string" />
            <many-to-one name="company" column="companyId" class="com.iknition.firstzk.beans.Company" outer-join="true" />
        </class>
    </hibernate-mapping>


  [1]: http://books.zkoss.org/wiki/Small_Talks/2011/December/Integrate_ZK5_with_Spring_3_and_Hibernate
  [2]: https://github.com/kossel/firstzk
  [3]: http://i.stack.imgur.com/TuwJx.png
where to put applicationcontext.xml and .hbm files?
===

I'm learning spring hibernate zk stack, and doing my first crud following [this tutorial][1]
I put applicationContext.xml into webapp/WEB-INF, and .hbm.xml to resources/mappings
But I dont know why my hbm files keep showing can not find my pojos.

in github [https://github.com/kossel/firstzk][2]

I have this structure

![enter image description here][3]

applicationContext.xml

      <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
            <property name="dataSource" ref="dataSource" />
            <!-- set other Hibernate properties in hibernate.cfg.xml file -->
            <property name="configLocation" value="classpath:/com/iknition/firstzk/hibernate/hibernate.cfg.xml" />
        </bean>

hibernate.cfg.xml

    <mapping resource="com/iknition/firstzk/hibernate/Company.hbm.xml" />

Company.hbm.xml

    <?xml version="1.0"?>
    <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
    <hibernate-mapping package="com.iknition.firstzk.beans">
        <class name="Contact" table="contact">
            <id name="idcontact" column="idcontact" type="integer">
                <generator class="increment" />
            </id>
            <property name="name" column="name" type="string" />
            <property name="email" column="email" type="string" />
            <many-to-one name="company" column="companyId" class="com.iknition.firstzk.beans.Company" outer-join="true" />
        </class>
    </hibernate-mapping>


  [1]: http://books.zkoss.org/wiki/Small_Talks/2011/December/Integrate_ZK5_with_Spring_3_and_Hibernate
  [2]: https://github.com/kossel/firstzk
  [3]: http://i.stack.imgur.com/TuwJx.png