The import java.util.Collection conflicts with a type defined in the same file

报错原因:你的类名和你要导入的包名同名了。

解决:改类名。

猜你喜欢

转载自blog.csdn.net/qq_29622845/article/details/70255923
今日推荐