Maven goals

validate – validate the project is correct and all necessary information is available compile – compile the source code of the project test – test the compiled source code using a suitable unit testing framework. These tests should not require the code be packaged or deployed package – take the compiled code and package it in its distributable format,

Installing Tomcat 7 on Mac OS

Download the latest version of tomcat on your mac and decompress the file and issue this command to move it to /usr/local sudo mkdir -p /usr/local<br />sudo mv ~/Downloads/apache-tomcat-7.0.47 /usr/local Make symbolic link to the Library folder sudo rm -f /Library/Tomcat<br />sudo ln -s /usr/local/apache-tomcat-7.0.47 /Library/Tomcat Change the ownership and make the script executable sudo

cannot find the tag library description for <%@ taglib prefix="c"uri="http://java.sun.com/jsp/jstl/core" %>

In this error the most possible solution is: Right click on the project folder, Click on properties, Find “Targeted Runtimes” Change the server to Tomcat 7 or a better AS Solution 2: Add JSTL.jar into the project Solution 3: If you are working with Maven add the dependency <dependency> <groupId>jstl</groupId> <artifactId>jstl</artifactId> <version>1.2</version> </dependency>

Spring 3 MVC Hello World Example

In this simple tutorial I will show you how to create the folder structure, add necessary libraries and write code of Spring 3 MVC. First off all your project has to have the following jars to be imported in your project minimum: antlr-2.7.6.jar commons-lang-2.4.jar commons-logging-1.1.1.jar jstl.jar log4j-1.2.11.jar org.springframework.beans-3.0.6.RELEASE.jar org.springframework.context-3.0.6.RELEASE.jar org.springframework.core-3.0.6.RELEASE.jar org.springframework.expression-3.0.6.RELEASE.jar org.springframework.web-3.0.6.RELEASE.jar org.springframework.web.servlet-3.0.6.RELEASE.jar This is