Im playing around with Struts 2 to get used to the framework trying to create a simple log in page , and ive encountered a problem.
Im using Spring/Hibernate to access my Db. When running this code in a man class it works fine
however as soon as i add this to a struts 2 action I get errors
this is inside my struts action:
the error is - org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'frameworksessionFactory' defined in class path resource [spring-config.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V
I was wondering if ive missed anything obvious. Ive had a quick google and theres nothing obvious that would cause this error with struts.
any help would be much appreciated.
Joined: Apr 11, 2012
Found the solution by following this. just if anyones interested.