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.
Build: NetBeans IDE 6.8 (Build 200912041610) VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07 OS: Windows XP User Comments: GUEST: Trying to run a simple HQL query on a pre-existing hibernate.cfg.xml and associated mapping files. GUEST: running a hibernate query using HQL Query.... it seems stuck at 10% 'preparing'... selected query and chose 'Run HQL' (so - trying to run the query a second time - while first instance is 'stuck at 10%'). I don't care - but reporting for what it is worth Stacktrace: java.lang.NoClassDefFoundError: com/mchange/v2/c3p0/DataSources at org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:154) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56) at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
Created attachment 105294 [details] stacktrace
org.hibernate.connection.C3P0ConnectionProvider.configure cannot load some class.
It's good to know why hibernate would like to load this class, what db is used, can sample project or hibernate config be provided? It may be project/environment misconfiguration with only issue it may be good to show some message instead of exception report.
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=170235
duplicate of 194198 with just a minor stacktrace change *** This bug has been marked as a duplicate of bug 194198 ***