Hello,
I am trying to set up a project to work with the Hibernate Eclipse Plugin, and this is what I get:
Code:
!ENTRY org.hibernate.eclipse 4 40000 2006-06-18 16:05:39.468
!MESSAGE ERROR Worker-48 com.opensymphony.oscache.base.Config - Error reading /oscache.properties in CacheAdministrator.loadProps() java.lang.NullPointerException
!ENTRY org.hibernate.eclipse 4 40000 2006-06-18 16:05:39.515
!MESSAGE ERROR Worker-48 com.opensymphony.oscache.base.Config - Ensure the /oscache.properties file is readable and in your classpath.
I am using Eclipse 3.1.2
Hibernate Plugin version 3.1.0 beta 5
Hibernate 3.0.4
The hibernate.properties file points to the osCacacheProvider class correctly. My oscache.properties file is in the src root of the project. (my src is copied automatically to the classes folder.) The file is valid and is used by the application itself with no problem. In my console configuration I added the project's classes folder to the classpath (as well as the oracle jdbc driver jar file).
The above error occurs when i try to expand the database node in the console's "tree" (the config, sessionFactory and database...).
Has anyone encountered such a problem?
Any help will be appreciated.
Thanks.