.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!

0
1 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:run

Can you please clarify why it is needed to use "java -jar" command for running the Spring application?

0

Please sign in to leave a comment.