Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse and Hibernate Tools... Problem
Eclipse and Hibernate Tools... Problem [message #27542] Mon, 14 February 2005 04:43
Eclipse UserFriend
Originally posted by: rolandz.poczta.fm

Hi,

I am new to eclipse as well as to java. However I'm an expert on
C++/C#/.NET - so it helps me a lot :-)

Currently I am trying to use Hibernate with java/Eclipse (I am using
NHibernate so this is quite familiar to me...). Downloaded Eclipse
plugins/tools from Hibernate site.

And now... I have created hibernate configuration file for my FireBird
database using the plugin tool in eclipse. It was easy... Now I switch to
Hibernate Console perspective and try to create a session. And getting
following error:

--- Exception: ---
Error lut 10, 2005 19:30:56.128 Exception while connecting/starting Hibernate
org.hibernate.console.HibernateConsoleRuntimeException: Problems while
loading database driverclass (org.firebirdsql.jdbc.FBDriver)
at
org.hibernate.console.ConsoleConfiguration.registerFakeDrive r(ConsoleConfiguration.java:195)
at
org.hibernate.console.ConsoleConfiguration.buildWith(Console Configuration.java:155)
at
org.hibernate.console.ConsoleConfiguration.build(ConsoleConf iguration.java:128)
at
org.hibernate.eclipse.console.actions.BuildSessionFactoryAct ion.doRun(BuildSessionFactoryAction.java:50)
at
org.hibernate.eclipse.console.actions.ConsoleConfigurationBa sedAction.run(ConsoleConfigurationBasedAction.java:47)
at
org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEv ent(BaseSelectionListenerAction.java:167)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:555)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:505)
at
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:419)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2803)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2448)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1569)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:285)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:220)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:710)
at org.eclipse.core.launcher.Main.main(Main.java:694)
Caused by: java.lang.ClassNotFoundException: org.firebirdsql.jdbc.FBDriver
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:404)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:93)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.hibernate.util.ReflectHelper.classForName(ReflectHelper. java:103)
at
org.hibernate.console.ConsoleConfiguration.registerFakeDrive r(ConsoleConfiguration.java:187)
... 27 more
---

The question is why.. It does not matter whether I have any referrence to
the driver in my project or not. I seems that Eclipse itself does not find
the driver rather than any other site...

TIA

--
Roland
Previous Topic:Eclipse crashes at random times (Linux)
Next Topic:A lot of windows in Gnome
Goto Forum:
  


Current Time: Sat Oct 18 16:12:57 EDT 2025

Powered by FUDForum. Page generated in 0.11609 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top