Jitsi-videobridge Local setup

Hello Team,

I am trying to do a local development setup to play around jitsi-meet. The front-end part is very clear & I am able to run it without any problem. I also want to host the backend & play with the codebase. Here are my questions,

  1. I guess https://github.com/jitsi/jitsi-videobridge - this repository is meant for the JAVA backend. Please correct me if I am wrong.

  2. I have followed the maven clean package command to successfully build the project. But maven exec is throwing the below error.

It would be great if someone guides me in these aspects. Thank you guys in advance.

java.lang.Exception: The specified mainClass doesn’t contain a main method with appropriate signature.
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:258)
at java.lang.Thread.run (Thread.java:748)
Caused by: java.lang.IllegalAccessException: no such method: org.jitsi.videobridge.Main.main(String)void/invokeStatic
at java.lang.invoke.MemberName.makeAccessException (MemberName.java:867)
at java.lang.invoke.MemberName$Factory.resolveOrFail (MemberName.java:1003)
at java.lang.invoke.MethodHandles$Lookup.resolveOrFail (MethodHandles.java:1386)
at java.lang.invoke.MethodHandles$Lookup.findStatic (MethodHandles.java:780)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:251)
at java.lang.Thread.run (Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: org/jitsi/meet/OSGiBundleConfig
at java.lang.invoke.MethodHandleNatives.resolve (Native Method)
at java.lang.invoke.MemberName$Factory.resolve (MemberName.java:975)
at java.lang.invoke.MemberName$Factory.resolveOrFail (MemberName.java:1000)
at java.lang.invoke.MethodHandles$Lookup.resolveOrFail (MethodHandles.java:1386)
at java.lang.invoke.MethodHandles$Lookup.findStatic (MethodHandles.java:780)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:251)
at java.lang.Thread.run (Thread.java:748)
Caused by: java.lang.ClassNotFoundException: org.jitsi.meet.OSGiBundleConfig
at java.net.URLClassLoader.findClass (URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass (ClassLoader.java:418)
at java.lang.ClassLoader.loadClass (ClassLoader.java:351)
at java.lang.invoke.MethodHandleNatives.resolve (Native Method)
at java.lang.invoke.MemberName$Factory.resolve (MemberName.java:975)
at java.lang.invoke.MemberName$Factory.resolveOrFail (MemberName.java:1000)
at java.lang.invoke.MethodHandles$Lookup.resolveOrFail (MethodHandles.java:1386)
at java.lang.invoke.MethodHandles$Lookup.findStatic (MethodHandles.java:780)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:251)
at java.lang.Thread.run (Thread.java:748)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for jvb-parent 2.1-SNAPSHOT:
[INFO]
[INFO] jvb-parent … FAILURE [ 0.274 s]
[INFO] jvb-api-parent … SKIPPED
[INFO] jvb-api-common … SKIPPED
[INFO] jvb-api-client … SKIPPED
[INFO] jvb-api-server … SKIPPED
[INFO] jitsi-videobridge … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.553 s
[INFO] Finished at: 2020-06-18T20:05:09+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:java (default-cli) on project jvb-parent: An exception occured while executing the Java class. The specified mainClass doesn’t contain a main method with appropriate signature.: no such method: org.jitsi.videobridge.Main.main(String)void/invokeStatic: org/jitsi/meet/OSGiBundleConfig: org.jitsi.meet.OSGiBundleConfig -> [Help 1]

1 Like

I have the same problem, did you solve it ?