maven


In this article, we will use Maven-Tomcat plugin to deploy a WAR file to Tomcat 7. We will use A sample Spring-based application PetClinic available at https://github.com/spring-projects/spring-petclinic Download the application and extract the files. Install Maven 3, Download Tomcat 7 from https://tomcat.apache.org/download-70.cgi Now go to apache-tomcat-7.0.68conftomcat-users.xml First, add an admin user […]

Deploy Maven based Spring WAR file to Tomcat 7


I was trying to run mvn commands for PetClinic Spring Application available at https://github.com/spring-projects/spring-petclinic The problem was Firewall setting and hence my mvn command was not working. It failed to download. In this case where you from behind a proxy, no dependencies will be downloaded. Solution: Go to apache-maven-3.3.9/conf Right […]

Solved: Enable proxy setting in Maven