current position:Home>When running the service jar, report Linux 1] + exit 1

When running the service jar, report Linux 1] + exit 1

2022-02-03 01:03:31 CSDN Q & A

Running the service during deployment jar When , newspaper
linux 1]+ Exit 1
Never deployed .
I don't know what's going on ..




Refer to the answer 1:

There is nothing wrong with the command , Now that you've made a mistake , Then check the wrong problem , For example, you can go there /var/log/message See if there are log prompts
For example, run directly java -jar xx.jar OK?




Refer to the answer 2:



Refer to the answer 3:

Your deployment command can To be brief ?


Deployment run java service , You can refer to the following :
nohup java -jar xxx.jar >> /dev/null 2>&1 &




Refer to the answer 4:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202030103303292.html

Random recommended