This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
User gets exception in the sessionFactory = new Configuration().configure().buildSessionFactory() statement if they make the wrong choice in the Fix Imports box for the Session package. Add a warning to be careful to choose org.hibernate.session and not org.hibernate.classic.Session.
*** This issue has been marked as a duplicate of 96602 ***