Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
如果在调用 Java 方法时所提供的参数数量不正确,或者所使用的数据类型不正确,Java VM 将用一个 java.lang.NoSuchMethodException 错误做出响应。您应检查参数的数量和类型。
java.lang.NoSuchMethodException
有关详细信息,请参见访问 Java 对象的字段和方法。