Xcode and getResourceAsStream stopped working and External jar ?
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