Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.1
Full stack trace of any exception that occurs:
!ENTRY org.eclipse.core.runtime 4 2 2006-01-10 19:32:45.418
!MESSAGE An internal error occurred during: "Fetching children of test".
!STACK 0
java.lang.NoClassDefFoundError
at org.hibernate.cfg.Configuration.createMappings(Configuration.java:393)
at org.hibernate.cfg.Configuration.add(Configuration.java:385)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:426)
at org.hibernate.cfg.Configuration.addResource(Configuration.java:481)
at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1443)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1411)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1392)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1368)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1322)
at org.hibernate.console.ConsoleConfiguration.loadConfigurationXML(ConsoleConfiguration.java:208)
at org.hibernate.console.ConsoleConfiguration.access$0(ConsoleConfiguration.java:155)
at org.hibernate.console.ConsoleConfiguration$1.execute(ConsoleConfiguration.java:131)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35)
at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:112)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:98)
at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:19)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:70)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Name and version of the database you are using: Oracle 9i 9.2.0.1
I'm trying to use the Hibernate tools plug-in (12/12 build) and am trying to use the console. I've created a HIbernate Configuration but get the fetching children error. I've pointed to my hibernate.cfg.xml file and have set up the classpath to point to:
1. jar file with POJO classes in them
2. directory with the hbm.xml files in them
3. jar file with db driver (ojdbc14.jar)
If I remove #2 above I get the error stating that it can't find the first hbm.xml file referenced in my cfg.xml file. So, when I put that back I get the fetching children error. So I'm unsure which class files it can't find.