.Jar not working
Answered
Hi All. Please Help me!
I have project DEMO with Spring web, It is run by IDE good, Open port 8080

But when I create .Jar and Run by java , it is not work!


Please sign in to leave a comment.
Hi,
There are no clear errors from the output of the ran jar command. Can please paste the full output?
Using Maven you can use the following command to start up a spring boot application:
mvn spring-boot:runCan you please clarify why it is needed to use "java -jar" command for running the Spring application?