You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to modify the Maven integration steps from the README. I'd added the compilerPlugin under the org.scala-tools maven-scala-plugin, 2.15.2. This works fine from Maven compile commands, but fails IntelliJ Builds.
Error:scalac: Error: scala/xml/NamespaceBinding
java.lang.NoClassDefFoundError: scala/xml/NamespaceBinding
at com.sksamuel.scapegoat.io.IOUtils$.writeHTMLReport(IOUtils.scala:24)
This seems to be the issue Martin Ford described 23 Feb 2015 (resolved "Won't Fix") and in this other Jetbrains issue. The former's workaround escapes me. The latter's is … self-defeating.
I would assume ideally I'd tell the build's VM to use the scala-xml.jar located within my .IdeaIC2018.2\config\plugins\Scala\lib, checked-in to git for others no matter where there vintage of IntelliJ actually puts the scala plugins.
Could the missing step be added to the README?
The text was updated successfully, but these errors were encountered:
Another workaround: if you don't actually need / want XML reports, pass the -P:scapegoat:reports:none compiler flag to disable all report generation. This seems to bypass the parts of the code which use Scala XML.
I had to modify the Maven integration steps from the README. I'd added the compilerPlugin under the org.scala-tools maven-scala-plugin, 2.15.2. This works fine from Maven compile commands, but fails IntelliJ Builds.
This seems to be the issue Martin Ford described 23 Feb 2015 (resolved "Won't Fix") and in this other Jetbrains issue. The former's workaround escapes me. The latter's is … self-defeating.
I would assume ideally I'd tell the build's VM to use the scala-xml.jar located within my .IdeaIC2018.2\config\plugins\Scala\lib, checked-in to git for others no matter where there vintage of IntelliJ actually puts the scala plugins.
Could the missing step be added to the README?
The text was updated successfully, but these errors were encountered: