I have org.hibernate in a 'mypackages' folder and have imported the mypackages folder as a library. I have added the library to my project. I see it in the library list. This includes the packages under org and the classes under org.hibernate and org.hibernate.cfg.
When I type import and let NetBeans do code-completion it shows org. Then when I type org. it shows hibernate. It will even prompt me to add an import for org.hibernate.SessionFactory and do so if I allow it.
But once I try and compile the class it fails with a package org.hibernate does not exist.
I have searched thru these and other forums and can't find a soluiton. Any ideas?