For debugging, why not just print the stacktrace in the catch block of your 
hibernate util:

try {
  | 
  |             AnnotationConfiguration config = new AnnotationConfiguration();
  |             config.addAnnotatedClass( User.class );
  |             config.configure();
  |             
  |             sessionFactory = config.buildSessionFactory();
  |             
  |         } catch (Throwable ex) {
  |             ex.printStackTrace();
  |             // Log exception!
  |             throw new ExceptionInInitializerError(ex);
  |         }

That might show you the actual error.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158574#4158574

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158574
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to