Select maven on the right side of idea, select the parent project, clean and then install in Lifecycle. The newly generated file in the target folder is packaged into a .jar suffix.
Use XShell to connect to the server, first stop the service of the module to be replaced, command ./startup.sh stop.
Then use xftp to directly copy the original .jar package on the server, make a backup first, and then delete it directly, and then put the .jar generated in the first step in the deleted location.