REF: http://www.journaldev.com/3531/spring-mvc-hibernate-mysql-integration-crud-example-tutorial
- Create the project under git folder with maven tool;
mvn archetype:generate -DgroupId=com.journaldev.spring -DartifactId=SpringMVCHibernate -DarchetypeArtifactId=maven-archetype-webapp -DinteractiveMode=false
- Create a new project on github with name: 'SpringMVCHibernate'
- Create the project under git folder with maven tool;
echo # SpringMVCHibernate >> README.md git init git add README.md git commit -m "first commit" git remote add origin [email protected]:bzdgn/SpringMVCHibernate.git git push -u origin master
- Import the project into eclipse workspace as "existing maven project"
- Update pom file and execute "mvn clean install"
- Update web.xml file as per tutorial
- Update all sources as per tutorial
- Check deployment assembly on eclipse if Maven Dependencies are ok ( for Tomcat )
- Update context-param on web.xml, tutorial using the root-context which is neither needed nor working; &&&********************************* Old value; contextConfigLocation /WEB-INF/spring/root-context.xml
New Value; contextConfigLocation /WEB-INF/spring/appServlet/servlet-context.xml