Thursday, July 21, 2016

How to enable Maven dependencies in eclipse

When I created a new maven project, some how I am not finding the Maven dependencies in the project build path add library console.
If the Maven dependencies were not added to the project, it doesnt resolve the third party jars.
If you have faced the same issue, then add the following dependency into your pom file and do a mvn clean install and the update then update the maven project configuration

How to terminate the tomcat server ports that are already in use

Following are the steps to kill the server process that is already in use in windows
Step 1: netstat -a -o -n and it will bring up a network list,search for the local address like 127.0.0.1:6060 and note the PID (eq 18508)
C:\>netstat -a -o -n or C:\>netstat -ano
Step2 : taskkill /F /PID 18508 . Run this command to kill that process.
C:\>taskkill /F /PID 18508