Tengo el error:

INFO: building session factory
May 28, 2011 2:28:05 PM org.hibernate.impl.SessionFactoryObjectFactory addInstance
INFO: Not binding factory to JNDI, no JNDI name configured
Exception in thread "main" org.hibernate.HibernateException: No CurrentSessionContext configured!
        at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:542)
        at hiberpack.EventManager.createAndStoreEvent(EventManager.java:25)
        at hiberpack.EventManager.main(EventManager.java:18)
Java Result: 1

¿qué puedo hacer con esto? Por favor, ayudar.

1 Comentario

Dejar respuesta

Please enter your comment!
Please enter your name here