Error running Jicofo from Jar

Hello :wave:

I’m trying to run jicofo in my local machine “Mac OS” using Ant (built
with target ‘jar’ after following the instructions in build.xml) as mentioned in ReadMe. The Prosody is configured and running.
I successfully built the jar, but when trying to run it, i got the following error:

[java] Error: Unable to initialize main class org.jitsi.jicofo.Main
[java] Caused by: java.lang.NoClassDefFoundError: org/jitsi/meet/OSGiBundleConfig

Is there something I’m missing?

In my build.xml file I did something like that:

<target name="jar" depends="compile">
        <mkdir dir="${jar.dir}"/>
        <jar destfile="${jar.dir}/${ant.project.name}.jar" basedir="${classes.dir}">
            <manifest>
                <attribute name="Main-Class" value="${main-class}"/>
            </manifest>
        </jar>
    </target>

<target name="run" depends="jar">
        <java jar="${jar.dir}/${ant.project.name}.jar" fork="true">
            <classpath>
                <path refid="build.classpath"/>
                <path refid="application"/>
            </classpath>
        </java>
    </target>

    <target name="clean-build" depends="clean,jar"/>
    <target name="dist" depends="clean,run"/>