更新时间:2021-08-29 22:11:46
players[k]
,并且你的构造函数是期望的String:
is of type Player, and your constructor is expecting String:
public Player(String inputname)
类中的 java 构造函数不能应用于给定类型
类中的Java'构造函数不能应用于给定类型''required:找不到任何参数:String'
Java“类中的构造函数不能应用于给定类型"“必需:找不到参数:字符串"
Play Framework 2.2.1 - 编译错误:“类索引中的方法渲染不能应用于给定类型;"
为什么这个程序显示错误?类a中的构造函数a不能应用于给定类型
类中的方法不能应用于给定类型
类中的构造函数不能应用于给定类型
error:constructor类Player中的Player不能应用于给定类型;