Run Maven Project using Tomcat | Code Factory


Donate : Link

Medium Blog : Link

Applications : Link

Update Project

Right click on project > Maven > update project

Build Project

Right click on project > run as > Maven Build
If you have not created a “Run Configuration” yet, It will opne a new configuration with some auto fillled values.
You can change the name. “Base Directory” will be a auto filled value for you. Keep it as it is. Give Maven command to “Goals” fields.
I.E. “clean install” for building purpose.
Click apply.
Click run.

Run Project on Tomcat

Right click on project > run as > run-configuration
It will open run-configuration window
RIght click on “Maven Build” from the right side column and select “New”
It will open a blank configuration for you
It will run project with address 8080


If you want to run project with different address other than 8080 then use below command

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s