Compile error with scala.tools.nsc.interactive.FreshRunReq
problem
I have a project using Play! framework 2.0.4 together with SecureSocial. It works fine in local environment, but had a problem showing the following error when Jenkins was trying to compile it:
[error] {file:/var/lib/jenkins/jobs/someproj/workspace/}securesocial/compile:sources: scala.tools.nsc.interactive.FreshRunReq
I googled the error message and found this thread, but it didn't fix my problem.
solution
The solution to my situation is just installing / setting up a JDK in Jenkins. Very simple...