Frank Serkland wrote:Paul, I tried your change, and it didn't work. Here is the structure that I found Eclipse deployed to.
Again, irrelevant. Forget about Eclipse for now. You're using a servlet container to run these things, right? And you're deploying your web application into it, right?
(If your answers aren't "Yes" so far then you're doing it wrong.)
Okay. So in that servlet container's directories, after you deploy the web application,
you should find a directory for the web app. And under it there should be a WEB-INF directory, and under that a classes directory. If your Hibernate resources aren't in that classes directory then you didn't do the deployment correctly. And if they are, then one of the proposed code fragments should have worked.