facebook

Setting up new hibernate/spring project

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #311340 Reply

    Dan
    Member

    Hi folks, I’m setting up a new hibernate/spring project, and wanted to to use the hibernate Spring/hibernate Servlet Fitler to attach the hibernate session to incoming requests

    I added the filter: org.springframework.orm.hibernate3.support.OpenSessionInViewFilter

    however when I startup the server, I now get the following error:

    java.lang.NoClassDefFoundError: org/springframework/web/filter/OncePerRequestFilter

    I take it I must have one of the spring libraries missing, any pointers?

    I went through one of the spring/hibernate tutorials, but..sadly that tutorial didn’t actually show any ‘test’ code using it integrated, let alone with session based accessed..

    I have the spring 3.0 Core/Persistence JDBC/PersistenceCore, AOP, and Web Libraries included…

    #311341 Reply

    Dan
    Member

    silly me, I needed to do a manual redeploy.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Setting up new hibernate/spring project

You must be logged in to post in the forum log in