Menu

connect fails

Help
2003-05-14
2003-06-06
  • Calvin D Crane

    Calvin D Crane - 2003-05-14

    Using Hibernator 0.9.5, eclipse 2.1,Oracle database

    after creating my connection it fails to connect with the error

    Error in config of database and Mappings Path must include project and resource name: 'gives name of eclipse project'

    Log shows:-
    Output location is in source location: /RUNNING
    java.lang.IllegalArgumentException: Path must include project and resource name: /RUNNING
        at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:55)
        at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:1442)
        at org.eclipse.core.internal.resources.Container.getFolder(Container.java:129)
        at net.sf.hibernator.HibernateConnection.createConnection(HibernateConnection.java:130)
        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:845)
        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-06-06

      See above thread on the same topic

       

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.