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

Asked

Viewed 687 times

1

Guys I don’t know how to turn a Spring Boot project into a file. jar My attempt was to enter the project through msdos and with the command mvn install can create the file . jar However several errors appeared, there is no way to put and complete error message because it is too big, see the message below;

Error message

I preferred to put the error message on Github because it is a very big error message.

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

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

1 answer

1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.