“Could not locate SessionFactory in JNDI” with Hibernate in Jetty under Eclipse Juno
问题 I've spent a few days understanding this problem, but I have not come up with a solution. The following are posts that are having similar problems: Similar Post 1, Similar Post 2, Similar Post 3. I have tried some of the partial solutions there, but nothing has resolved the problem. Problem I'm developing a Google Web Application and using Hibernate for the persistence layer to connect to a Postgresql database. I run it in development mode with the built-in Jetty server that comes with the