.Jar not working

已回答

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

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

请先登录再写评论。