Problem statement: How do I run an artifact using cmd?
step-1: open cmd
step-2: go to the path where artifact is present in your machine
step-3: fire the following command
$ java - jar myapp-1.0.0-SNAPSHOT
step-4: enter
step-5: now type the url to access through your browser
step-1: open cmd
step-2: go to the path where artifact is present in your machine
step-3: fire the following command
$ mvn spring-boot:run
step-4: enter
step-5: now type the url to access through your browser
- running an artifact as a package/zip application:
step-1: open cmd
step-2: go to the path where artifact is present in your machine
step-3: fire the following command
$ java - jar myapp-1.0.0-SNAPSHOT
step-4: enter
step-5: now type the url to access through your browser
- Using maven plugin:
step-1: open cmd
step-2: go to the path where artifact is present in your machine
step-3: fire the following command
$ mvn spring-boot:run
step-4: enter
step-5: now type the url to access through your browser
No comments:
Post a Comment