Menu

NoClassDefFoundError during connect

Help
2003-08-21
2003-12-05
  • Brill Pappin

    Brill Pappin - 2003-08-21

    I can create a connection fine, but when I try and connect, is get this output (fromt he .log file).

    !ENTRY org.eclipse.ui 4 4 Aug 21, 2003 09:58:00.640
    !MESSAGE Unhandled exception caught in event loop.
    !ENTRY org.eclipse.ui 4 0 Aug 21, 2003 09:58:00.640
    !MESSAGE java.lang.NoClassDefFoundError
    !STACK 0
    java.lang.NoClassDefFoundError
        at net.sf.hibernator.HibernateConnection.createConnection(HibernateConnection.java:72)
        at net.sf.hibernator.views.ConnectionView.connect(ConnectionView.java:185)
        at net.sf.hibernator.views.ConnectionView.access$4(ConnectionView.java:180)
        at net.sf.hibernator.views.ConnectionView$6.run(ConnectionView.java:164)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
        at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
        at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
        at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
        at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
        at org.eclipse.core.launcher.Main.run(Main.java:747)
        at org.eclipse.core.launcher.Main.main(Main.java:583)

     
    • Daniel Bradby

      Daniel Bradby - 2003-09-11

      Anything in the Hibernator Log? Any dialog box that might indicate what class is missing?

      Hibernator uses your Project configuration in Eclipse to determine what classes it will need to use them inside Hibernate. Maybe Hibernator is missing some classes?

      Daniel

       
    • Anonymous

      Anonymous - 2003-12-05

      I got same error with hibernate 2.1rc3 and Eclipse 2.1.2.
      Hibernate 2.1rc3 uses javax.transaction.TransactionManager, so j2ee.jar is required.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.