How do I determine the code version of jitsi-videobridge

Quick install of JVB module, I modified JVB code, compile and generate jitsi-videobridge. Jar file, replace to /usr/share/jitsi-videobridge directory, run error report.

Is it my code version that doesn’t match

yao@ubuntu:/usr/share/jitsi-videobridge$ /etc/init.d/jitsi-videobridge start
[ ok ] Starting jitsi-videobridge (via systemctl): jitsi-videobridge.service.
yao@ubuntu:/usr/share/jitsi-videobridge$ /etc/init.d/jitsi-videobridge status
● jitsi-videobridge.service - Jitsi Videobridge
Loaded: loaded (/lib/systemd/system/jitsi-videobridge.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-07-10 01:03:19 PDT; 4s ago
Process: 100767 ExecStartPost=/bin/bash -c echo $MAINPID > /var/run/jitsi-videobridge/jitsi-videobridge.pid (code=exited, status=0/SUCCESS)
Process: 100766 ExecStart=/bin/bash -c exec /usr/share/jitsi-videobridge/jvb.sh --host=$${JVB_HOST:-localhost} --domain={JVB_HOSTNAME} --port={JVB_PORT} --secret={JVB_SECRET} {JVB_OPTS} < /dev/null >> ${LOGFILE} 2>&1 (code=exited, status=1/FAILURE)
Main PID: 100766 (code=exited, status=1/FAILURE)

Jul 10 01:03:19 ubuntu systemd[1]: Starting Jitsi Videobridge…
Jul 10 01:03:19 ubuntu systemd[1]: Started Jitsi Videobridge.
Jul 10 01:03:19 ubuntu systemd[1]: jitsi-videobridge.service: Main process exited, code=exited, status=1/FAILURE
Jul 10 01:03:19 ubuntu systemd[1]: jitsi-videobridge.service: Unit entered failed state.
Jul 10 01:03:19 ubuntu systemd[1]: jitsi-videobridge.service: Failed with result ‘exit-code’.

Due to server limitations, I cannot clone the code to run on the server.

What does jvb log says?

Error: Could not find or load main class org.jitsi.videobridge.Main

You modified jar file does not contain the jvb Main class.

1、Clone the JVB code
2、$mvn clean package -Dmaven.test.skip=true
3、cp /jitsi-videobridge/target/jitsi-videobridge-1.1-SNAPSHOT-native-linux-64.jar
./usr/share/jitsi-videobridge

Are there any key steps missing?

Open jitsi-videobridge-1.1-SNAPSHOT-native-linux-64.jar, this jar contains only the native dependencies. You need:
cp jitsi-videobridge-1.1-SNAPSHOT.jar /usr/share/jitsi-videobridge/jitsi-videobridge.jar

The program is working!
Thanks!