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.

Bug 192026 - ClassNotFoundException: org.hibernate.hql.classic.ClassicQueryTransactionFactory
Summary: ClassNotFoundException: org.hibernate.hql.classic.ClassicQueryTransactionFactory
Status: RESOLVED DUPLICATE of bug 192027
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 19:12 UTC by giorgo
Modified: 2010-11-18 06:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 173957


Attachments
stacktrace (2.76 KB, text/plain)
2010-11-16 19:12 UTC, giorgo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description giorgo 2010-11-16 19:12:30 UTC
This issue was reported manually by giorgo.
It already has 1 duplicates 


Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Windows 7

User Comments:
giorgo: Creating the Hibernate Mapping Files and POJOs

You can use the Hibernate Mapping Files and POJOs from a Database wizard to generate files for you. The wizard can generate a POJO and a corresponding mapping file for each table that you select in the wizard. The mapping files are XML files that contain data about how the columns in the tables are mapped to the fields in the POJOs. You need to have the hibernate.reveng.xml and hibernate.cfg.xml files to use the wizard.

To create the POJOS and mapping files using a wizard, perform the following steps.

   1. Right-click the Source Packages node in the Projects window and choose New > Other to open the New File wizard.
   2. Select Hibernate Mapping Files and POJOs from a Database in the Hibernate category. Click Next.
   3. Ensure that the hibernate.cfg.xml and hibernate.reveng.xml files are selected in the drop down lists.
   4. Select JDK 5 Language Features under the General Settings options.
   5. Ensure that the Domain Code and Hibe




Stacktrace: 
java.lang.ClassNotFoundException: org.hibernate.hql.classic.ClassicQueryTransactionFactory
   at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Comment 1 giorgo 2010-11-16 19:12:34 UTC
Created attachment 103017 [details]
stacktrace
Comment 2 bht 2010-11-18 06:23:23 UTC
*** Bug 192027 has been marked as a duplicate of this bug. ***
Comment 3 bht 2010-11-18 06:26:39 UTC

*** This bug has been marked as a duplicate of bug 192027 ***