作者DJJERRY (键盘张根硕)
看板java
标题[问题] JAVA程式读的到资料却没办法执行
时间Mon Jun 23 18:56:09 2014
各位版上的高手好 小弟我从网路上找了范例想在eclipse上执行
现在的问题是有办法读资料 却没办法执行 一直出现以下错误讯息
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The method run(Configuration, Path, Path, Path, double, int, boolean,
double, boolean)
in the type KMeansDriver is not applicable for the arguments
(Configuration, Path, Path, Path, EuclideanDistanceMeasure, double, int,
boolean, boolean)
附上程式码
http://i.imgur.com/QWJabHE.png
不知道是什麽地方出了问题 求各位大大帮忙~
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 140.124.42.128
※ 文章网址: http://webptt.com/cn.aspx?n=bbs/java/M.1403520971.A.6D6.html
1F:推 gmoz:你先把错误讯息这段的英文看懂 06/23 21:53
2F:→ Jimmy0398:第5个参数要double? 你给EuclideanDistanceMeasure? 06/23 21:53
3F:→ kather:参数从第五个开始要:double int boolean double boolean 06/23 23:40