ScalaDoc生成失败,并显示`java.lang.VerifyError`

时间:2019-06-06 02:24:37

标签: javadoc verifyerror scaladoc

我想为我正在处理的项目生成ScalaDocs。我在Mac上使用IntelliJ 2019.1.3。我试图为整个项目和一个打开的文件生成ScalaDocs,但是在所有情况下,输出如下:

Exception in thread "main" java.lang.VerifyError: class scala.tools.nsc.Global overrides final method assert.(ZLscala/Function0;)V
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at scala.tools.nsc.Properties$.pickJarBasedOn(Properties.scala:14)
    at scala.util.PropertiesTrait$class.scalaProps(Properties.scala:35)
    at scala.tools.nsc.Properties$.scalaProps$lzycompute(Properties.scala:12)
    at scala.tools.nsc.Properties$.scalaProps(Properties.scala:12)
    at scala.util.PropertiesTrait$class.scalaPropOrNone(Properties.scala:65)
    at scala.tools.nsc.Properties$.scalaPropOrNone(Properties.scala:12)
    at scala.util.PropertiesTrait$class.$init$(Properties.scala:77)
    at scala.tools.nsc.Properties$.<init>(Properties.scala:12)
    at scala.tools.nsc.Properties$.<clinit>(Properties.scala)
    at scala.tools.nsc.ScalaDoc.<init>(ScalaDoc.scala:19)
    at scala.tools.nsc.ScalaDoc$.<init>(ScalaDoc.scala:64)
    at scala.tools.nsc.ScalaDoc$.<clinit>(ScalaDoc.scala)
    at scala.tools.nsc.ScalaDoc.main(ScalaDoc.scala)

Process finished with exit code 1

想法?

0 个答案:

没有答案