> -----Original Message----- > From: Dave Newton [mailto:davelnew...@gmail.com] > Sent: Sunday, May 15, 2011 19:31 > To: Struts Users Mailing List > Subject: Re: struts2 & hibernate > > On Sun, May 15, 2011 at 6:46 PM, Saeed Najahi > <najah...@gmail.com> wrote: > > code that implicates hibernate and struts, the > documentation doesn't > > help much unfortunatly, explanation or indication of what > version of > > what jar is needed isn't mentioned, > > Dependencies should be managed by Maven (or similar), not by > hand--anything but the *most* basic S2 application (in other > words, no plugins, pretty much no anything) ups the library > requirements pretty quickly. > > In any case, did you look at the S2 "blank" app included in > the main distro? Often times looking at the artifacts > included in a download provide clues regarding library usage. > The blank app includes the following libraries: > > WEB-INF/lib/asm-3.1.jar > WEB-INF/lib/asm-commons-3.1.jar > WEB-INF/lib/asm-tree-3.1.jar > WEB-INF/lib/commons-fileupload-1.2.2.jar > WEB-INF/lib/commons-io-2.0.1.jar > WEB-INF/lib/commons-lang-2.5.jar > WEB-INF/lib/freemarker-2.3.16.jar > WEB-INF/lib/javassist-3.11.0.GA.jar > WEB-INF/lib/ognl-3.0.1.jar > WEB-INF/lib/struts2-core-2.2.3.jar > WEB-INF/lib/xwork-core-2.2.3.jar > > > (in addition to the full hibernate plugin) > > There is no Hibernate plugin. > > Since you don't provide any information regarding the errors > you're getting, it's difficult to help much more than that.
For what it is worth, we are using hibernate 3.6.x w/ annotations in struts 2.1.6, 2.1.8, 2.2.x, and SVN HEAD Using the convention and portlet plugins. Please post example of failure for debugging. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org