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

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.

Leave a Reply

Your email address will not be published. Required fields are marked *