• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Xcode and getResourceAsStream stopped working and External jar ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode and getResourceAsStream stopped working and External jar ?


  • Subject: Xcode and getResourceAsStream stopped working and External jar ?
  • From: Stephane Guyot <email@hidden>
  • Date: Mon, 21 Mar 2005 21:27:41 +0100


Hi,

i'm trying to do a very simple WebObjects/Hibenrate application.

Where should i put , my Hibernate.cfg.xml ?

In resources , it's not enough, i need to modifiy by hand the MacOSXClassPath.txt :

APPROOT/Resources/Java/testhibernate.jar
APPROOT/Resources/ <------------------------------------------------- allow loading of
Hibernate.cfg.xml

Looking inside Hibernate sources , i read :
classLoader.getResourceAsStream( path ) seems broken ?

Then , doing modification by hand, i've got the exception :

[2005-03-21 20:37:55 CET] <main> A fatal exception occurred: JDBC Driver class not found: com.frontBase.jdbc.FBJDriver
[2005-03-21 20:37:55 CET] <main> org.hibernate.HibernateException: JDBC Driver class not found: com.frontBase.jdbc.FBJDriver
and i have : /Library/WebObjects/Extensions/frontbasejdbc.jar

Any ideas , (other than use Eclipse instead) are wellcome.

Thanks in advance,
Stephane

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Xcode and getResourceAsStream stopped working and External jar ?
      • From: Chuck Hill <email@hidden>
    • Re: Xcode and getResourceAsStream stopped working and External jar ?
      • From: Arturo Perez <email@hidden>
  • Prev by Date: Re: Am I using EOUtilities.createAndInsertInstance() correctly?
  • Next by Date: Re: Xcode and getResourceAsStream stopped working and External jar ?
  • Previous by thread: Re: Am I using EOUtilities.createAndInsertInstance() correctly?
  • Next by thread: Re: Xcode and getResourceAsStream stopped working and External jar ?
  • Index(es):
    • Date
    • Thread