Pessoal estou com o sequinte problema estou começando agora a usar o Hibernate so que estou tendo esse problema ja configurei o hibernate.cfg.xml e o arquivo de mapeamento e da ess erro:
hibernate.cfg.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory name="sessao">
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.password">admin</property>
<property name="hibernate.connection.url">jdbc:mysql://localhost/jdevelopers</property>
<property name="hibernate.connection.username">root</property>
<property name="hibernate.default_schema">jdevelopers</property>
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
<mapping resource="CleroEntity.hbm.xml"/>
</session-factory>
</hibernate-configuration>
erro.
org.apache.jasper.JasperException: org.hibernate.HibernateException: No CurrentSessionContext configured!
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)