Linux deployment java project lessons - does not take effect

Linux deployment java project lessons - does not take effect

Major premise: the previous deployment project was based on docker, and this time the deployment project is deployed directly on linux

Question: There is nothing wrong with deploying the first project, but I found a bug and changed the project. When rewriting and typing into a jar, I deployed it again, but it didn’t take effect! ! !

Solution: Every redeployment needs to kill the running process, and then re-execute the command

Because the jar was directly mirrored before, so I didn’t encounter this kind of problem, so record it

Related commands

  1. Query the process ID of a Java service
    jps
    
    Display ****.jar is
  2. kill process id
    kill 进程id
    

Guess you like

Origin blog.csdn.net/weixin_42947972/article/details/129736935