This installation and configuration guide is applicable to Tomcat 7 and 8, and possibly the earlier versions.
Take note that Tomcat 8 requires JDK 1.7. It will NOT work with JDK 1.6. If your JDK is below 1.7, upgrade it (See JDK How-To). You can check your JDK version via command javac -version
.
These commands will help you to do main things in your command line. And you may compare Windows and Linux commands in the same place.
MoreMain maven commands (maven goals) :
mvn clean install
more popular command : clean old target files, verify and install you application
mvn --version
- take a look a version of Maven you installed, and you may check is it work or not.
mvn archetype:generate
generate standard structure for the project