How do you transform a Spring Boot project into a .jar file?

1

Personal I do not know how to turn a Spring Boot project into a .jar file My attempt was to get into the project with msdos and with the command mvn install to create the .jar file But there were several errors, there is no way to put it and full error message because it is too big, see the message below;

Error Message

I preferred to put the error message in GitHub because it is a very large error message.

When I run the project through the Spring Tool Suite it works normally.

I accept suggestions.

I also tried running this command:

Wladimir@wlady MINGW64 ~/Documents/workspace-sts-3.9.1.RELEASE
$ java -jar wladimir-api-1.0.0-SNAPSHOT.jar --spring.datasource.username=root --spring.datasource.password algamoney.origin-permitida=http://localhost:4200
Error: Unable to access jarfile wladimir-api-1.0.0-SNAPSHOT.jar

The name of my project is called wladimir-api

    
asked by anonymous 12.12.2017 / 20:34

1 answer