![how to install maven plugin in eclipse 3.6 how to install maven plugin in eclipse 3.6](http://4.bp.blogspot.com/-zbtzPydgxj0/VWFzt-32XiI/AAAAAAAAFjI/rGYsFjiWxa0/s1600/install%2Bmaven%2Bm2e%2Bfor%2Beclipse%2Bjuno%2Bindigo%2Bkepler%2Bluna.png)
Right click the war file, select export menu item, select file system option in the window and click next. Once build is done, you need to refresh target folder in your web application project to see the war file which is created after running the maven build. Here is the console output from the maven build. Then click run to package your project to create a war file. Then enter run configuration name, select project base directory by clicking work space, enter maven goal and click apply. In the run configurations window, double click maven. To compile, test and package your web application, first go to run configuration as shown in the following picture. Then select tomcat version, set tomcat home to the directory where tomcat is installed and then click apply. To configure eclipse tomcat plug-in, go to Window > Preferences and select Tomcat option.
HOW TO INSTALL MAVEN PLUGIN IN ECLIPSE 3.6 ZIP
Download Tomcatĭownload latest version of Tomcat from apache tomcat download page.Īfter downloading tomcat zip file, extract it to a folder. In the search results, you will get Eclipse Tomcat plug-in item with install option which you need to click. To install Tomcat eclipse plug-in, click Help menu, then click Eclipse Marketplace menu item and search for tomcat. To fix this issue, you need to add JRE library from JDK by clicking libraries tab, removing JRE system library and adding the JRE system library by choosing the latest JDK.Īfter adding latest JDK, you will see the main and test java folders in the project structure. Go to project properties and build path, you will see two build path entries missing message as shown in the following image. If created web app project doesn’t have main/java and test/java folders like for the web app project structure shown in the following image, that means project is using wrong version of JRE system library. Missing main and test Maven Web Application Folders To create maven web application project in eclipse, click file > new > other.Įnter group id, artifact id, and package and click finish. Creating Maven Web Application in Eclipse
HOW TO INSTALL MAVEN PLUGIN IN ECLIPSE 3.6 HOW TO