This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I checked out an existing project from SVN into Eclipse Helios and am facing the following problem while running it on local tomcat server configured within eclipse as well as stand-alone tomcat when posted the same web application in its web apps folder.
The application uses Spring 3.0.2, JPA, Hibernate 3.0, and Struts 2.1.
Upon launching it throws the following runtime exception, please help:
Error creating bean with name 'entityManagerFactory' defined in class path resource [applicationContext.xml]:
Error creating bean with name 'dao': Injection of persistence dependencies failed;
Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode;