title: Error during sbt execution: java.lang.NoClassDefFoundError: scala/StringContext
body: <p>I am trying to run a play framework(2.1) application which is written in Scala but getting some error.</p>
  
  <p>I need to use Play framework 2.1 only.
  As per build.sbt file, I am using Scala 2.11.7.
  sbt.version=0.13.8 is in project/build.properties.</p>
  
  <p>I have installed Play 2.1.0 and changed my directory to application's root directory and then executed play command.</p>
  
  <p>I got following error:</p>
  
  <p><strong>java.lang.NoClassDefFoundError: scala/StringContext</strong></p>
  
  <pre><code>    at sbt.CommandStrings$.&lt;init&gt;(CommandStrings.scala:83)
      at sbt.CommandStrings$.&lt;clinit&gt;(CommandStrings.scala)
      at sbt.BuiltinCommands$.defaults(Main.scala:202)
      at sbt.xMain.run(Main.scala:29)
      at xsbt.boot.Launch$.run(Launch.scala:55)
      at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
      at xsbt.boot.Launch$.launch(Launch.scala:69)
      at xsbt.boot.Launch$.apply(Launch.scala:16)
      at xsbt.boot.Boot$.runImpl(Boot.scala:31)
      at xsbt.boot.Boot$.main(Boot.scala:20)
      at xsbt.boot.Boot.main(Boot.scala)
  Caused by: java.lang.ClassNotFoundException: scala.StringContext
      at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
  ... 11 more
  </code></pre>
  
  <p><strong>Error during sbt exe<code>enter code here</code>cution: java.lang.NoClassDefFoundError: scala/StringContext</strong></p>
  
  <p>Can someone please tell me what's wrong here?</p>
  
  <p>I am completely new to scala and I just need to run this app at earliest.
  I am using 64-bit Cent OS 7(in case someone wants to know about OS).</p>