Problema de mapping no Hibernate

Olá!

Bom, to com o seguinte problema:


[Configuration] Reading mappings from resource: projeto/entidades/Atividades.hbm.xml
[HbmBinder] Mapping class: projeto.entidades.Atividades -> atividades
[STDOUT] Initial SessionFactory creation failed.org.hibernate.MappingException: Could not resource: projeto/entidades/Atividades.hbm.xml
ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exceptionng.ExceptionInInitializerError


Tenho uma classe chamada Atividade com o seguinte conteudo:

[code]package projeto.entidades;

import java.sql.Time;
import java.util.Date;

public class Atividades {

private Integer id_atividade;
private Integer id_tipoatividade;
private Integer id_cliente;
private Integer id_consultor;
private String Descricao;	 
private Date DT_Inicio;	 
private Date DT_Fim;	 
private Time Qtde_Horas;	  

public Atividades(){
	
}

public Atividades(Integer id_atividade, Integer id_tipoatividade, Integer id_clietne, Integer id_consultor,  
		         String descricao, Date dt_inicio, Date dt_fim, Time qtde_horas){
	this.id_atividade = id_atividade;
	
	this.id_tipoatividade = id_tipoatividade;
	this.id_cliente = id_clietne;
	this.id_consultor = id_consultor;		
	this.Descricao = descricao;
	this.DT_Inicio = dt_inicio;
	this.DT_Fim = dt_fim;
	this.Qtde_Horas = qtde_horas;
}

… gets e sets …[/code]
E o XML dela é:

[code]<?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>
<class name="projeto.entidades.Atividades" table="atividades">
<id name="ID_Atividade" column="id_atividade">
<generator class="sequence">
<param name="sequence">atividade_seq</param>
</generator>
</id>

	&lt;property name=&quot;Descricao&quot; column=&quot;descricao&quot; /&gt;
	&lt;property name=&quot;Dt_Inicio&quot; column=&quot;dt_inicio&quot; /&gt;
	&lt;property name=&quot;Dt_Fim&quot; column=&quot;dt_fim&quot; /&gt;
	&lt;property name=&quot;Qtde_Horas&quot; column=&quot;qtde_horas&quot; /&gt;	   
	
	&lt;many-to-one name=&quot;id_tipoatividade&quot; 
		 column=&quot;id_tipoatividade&quot; 
		 class=&quot;projeto.entidades.TipoAtividades&quot;
		 insert=&quot;false&quot; update=&quot;false&quot;  /&gt; 
	
	&lt;many-to-one name=&quot;id_cliente&quot; 
		 column=&quot;id_cliente&quot; 
		 class=&quot;projeto.entidades.Clientes&quot;
		 insert=&quot;false&quot; update=&quot;false&quot;  /&gt; 
		 
	&lt;many-to-one name=&quot;id_evento&quot; 
		 column=&quot;id_evento&quot; 
		 class=&quot;projeto.entidades.Eventos&quot;
		 insert=&quot;false&quot; update=&quot;false&quot;  /&gt; 
		 
	&lt;many-to-one name=&quot;id_consultor&quot; 
		 column=&quot;id_consultor&quot; 
		 class=&quot;projeto.entidades.Consultores&quot;
		 insert=&quot;false&quot; update=&quot;false&quot;  /&gt; 			 			 
&lt;/class&gt;

&lt;class name=&quot;projeto.entidades.TipoAtividades&quot; table=&quot;tipoatividades&quot;&gt;
	&lt;id name=&quot;id_tipoatividade&quot; column=&quot;id_tipoatividade&quot;&gt;
		&lt;generator class=&quot;native&quot; /&gt;
	&lt;/id&gt;		
&lt;/class&gt;

&lt;class name=&quot;projeto.entidades.Clientes&quot; table=&quot;clientes&quot;&gt;
	&lt;id name=&quot;id_cliente&quot; column=&quot;id_cliente&quot;&gt;
		&lt;generator class=&quot;native&quot; /&gt;
	&lt;/id&gt;		
&lt;/class&gt;

&lt;class name=&quot;projeto.entidades.Eventos&quot; table=&quot;eventos&quot;&gt;
	&lt;id name=&quot;id_evento&quot; column=&quot;id_evento_atual&quot;&gt;
		&lt;generator class=&quot;native&quot; /&gt;
	&lt;/id&gt;		
&lt;/class&gt;

&lt;class name=&quot;projeto.entidades.Consultores&quot; table=&quot;consultores&quot;&gt;
	&lt;id name=&quot;id_consultor&quot; column=&quot;id_consultor&quot;&gt;
		&lt;generator class=&quot;native&quot; /&gt;
	&lt;/id&gt;		
&lt;/class&gt;				

</hibernate-mapping>[/code]
Podem me ajudar???
[size=“11”][color=“red”]* Editado: Lembre-se de utilizar BBCode em seus códigos - Cassolato[/color][/size] :joia:

oi

eu tive um problema similar a esse, consegui resolver mudando para
maiusculo no nome do column

ex.:
<many-to-one name=“id_cliente”
column=“id_cliente” para ID_CLIENTE

Blz!

Essa de alterar o nome me ajudou! Valeu.