Scaladoc (2.11.6) fails on throws tag with “unable to find any member to link”

大城市里の小女人 提交于 2019-12-05 00:45:12

Based on discussion here, I have decided to suppress the errors for now by adding the Scaladoc option -no-link-warnings.

scalacOptions in (Compile, doc) ++= Seq(
  "-no-link-warnings" // Suppresses problems with Scaladoc @throws links
)

Note that if you don't need scaladoc-s at all, you can make them empty:

sources in (Compile,doc) := Seq.empty

And not publish at all:

publishArtifact in packageDoc := false
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!