Uncompilable source code - Erroneous sym type: java.io.File.getSampleV

為{幸葍}努か 提交于 2019-12-02 13:39:43

This exception java.lang.RuntimeException: Uncompilable source code is seen when using an IDE which allows you to run your project/code, even if some classes are not compiled (due to errors in code). I suggest fixing your code and you have zero errors before running your project.

Also, java.io.File never have the method setSampleValueAt(). This is what causes your code to never compile.

Your error is in this line

int value = file.getSampleValueAt(index);

File doesn't provide the method getSampleValueAt.

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