• Etherpad build fails fsc Exception in thread “main” java.lang.NoClassDefFoundError: scala/tools/nsc/CompileClient

    Date: 2010.11.02 | Category: etherpad

    Etherpad build fails with output: fsc Exception in thread “main” java.lang.NoClassDefFoundError: scala/tools/nsc/CompileClient

    Cause: Bad path or symbolic link issue

    Solution: Firstly replicate error by typing

    fsc
    which fsc

    if it isn’t the actual literal fsc path then remove any symbolic links to the fsc file in /usr/bin

    add the scala/bin path to $path – ie

    export path="$PATH:/usr/local/scala-2.7.7/bin"

    type fsc again, the error should be gone.