IntelliJ 14.1.4 Scaladoc failing with Scala 2.11.6

There were some changes in Scala 2.11 which I think are causing the Generate Scaladoc to fail. When I hit the gerate option which Scala tools are called? Global ones or the Project specific one?

Exception is:-

Exception in thread "main" java.lang.NoClassDefFoundError: scala/xml/NamespaceBinding
 at scala.tools.nsc.doc.html.HtmlFactory.generate(HtmlFactory.scala:124)
 at scala.tools.nsc.doc.html.Doclet.generateImpl(Doclet.scala:16)
 at scala.tools.nsc.doc.doclet.Generator.generate(Generator.scala:24)
 at scala.tools.nsc.doc.DocFactory.generate$1(DocFactory.scala:121)
 at scala.tools.nsc.doc.DocFactory.document(DocFactory.scala:124)
 at scala.tools.nsc.ScalaDoc.process(ScalaDoc.scala:41)
 at scala.tools.nsc.ScalaDoc$.main(ScalaDoc.scala:72)
 at scala.tools.nsc.ScalaDoc.main(ScalaDoc.scala)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
Caused by: java.lang.ClassNotFoundException: scala.xml.NamespaceBinding
 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:424)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
 ... 13 more

Please sign in to leave a comment.