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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...