Reputation: 813
I am looking for a spring 1.2.8 to spring 3.1 migration guide and Hibernate migration guide. I could not find relevant info on Google. Please share with me if there are useful articles.
I got the following error when I replace spring 1.2.8 jar with spring 3.1 jars.
java.lang.NoSuchFieldError: MANUAL at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.(OpenSessionInViewFilter.java:102)
Upvotes: 2
Views: 2229
Reputation: 120771
Update to Hibernate 3.2 or newer first! See https://jira.springsource.org/browse/SPR-7008 (last comment)
It is the first answer by Google if you google for "java.lang.NoSuchFieldError: MANUAL at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.(OpenSessionInViewFilter.java:102)"
If you use Hibernate 4, then you should use the new org.springframework.orm.hibernate4
package (introduced in Spring 3.1) instead of the hibernate3
package.
Btw: Update the system step by step, but not all at once!
For example:
Upvotes: 1