So, what I want to do is to run multiple maven web project in eclipse using Jetty. Let say I have two projects webProjectOne and webProjectTwo. I run Jetty using follow setting1.
However, this can only run one project at a time. Is there a way to run multiple project at once?
For Example:
localhost:8080/webProjectOne
localhost:8080/webProjectTwo
You cannot run 2 web-app in the same port (8080
)
localhost:8080/webProjectOne
localhost:8080/webProjectTwo
If you setting 2 projects has own port, you release 2 mvn jetty:run
commands at 2 different directory/folder.
Read more at https://www.eclipse.org/jetty/documentation/9.4.x/jetty-maven-plugin.html