Questions tagged «nosuchmethoderror»


2
解释java.lang.NoSuchMethodError消息
我收到以下运行时错误消息(以及堆栈跟踪的第一行,该行指向第94行)。我试图弄清楚为什么它说不存在这种方法。 java.lang.NoSuchMethodError: com.sun.tools.doclets.formats.html.SubWriterHolderWriter.printDocLinkForMenu( ILcom/sun/javadoc/ClassDoc;Lcom/sun/javadoc/MemberDoc; Ljava/lang/String;Z)Ljava/lang/String; at com.sun.tools.doclets.formats.html.AbstractExecutableMemberWriter.writeSummaryLink( AbstractExecutableMemberWriter.java:94) 下面显示了writeSummaryLink的第94行。 问题 “ ILcom”或“ Z”是什么意思? 为什么括号中有四种类型(ILcom / sun / javadoc / ClassDoc; Lcom / sun / javadoc / MemberDoc; Ljava / lang / String; Z),而括号后有一种类型;当方法printDocLinkForMenu明显具有五个参数时? 代码详细信息 writeSummaryLink方法为: protected void writeSummaryLink(int context, ClassDoc cd, ProgramElementDoc member) { ExecutableMemberDoc emd = (ExecutableMemberDoc)member; String name …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.