Eclipse Maven run on Tomcat with different port number
Run configurations -> Maven Build -> [Goals]:
tomcat:run -Dmaven.tomcat.port=8081
So any change you made in webapp will immediately affect on server
Clean Project
Run Project -> Clean...
Some time the project does not load changes, so run this to clean project first.
Run Maven Build
Right click on project -> Run As -> Maven Build
To deploy app to webserver
No comments:
Post a Comment