The type HashSet is not generic; it cannot be parameterized with arguments 错误
解决方法
一开始我以为是我的包导错误 (import java.util.Set;)后来发现不是
然后发现是 我的类名和你要导入的包名同名了
The type HashSet is not generic; it cannot be parameterized with arguments <String>,不能自动导入Jar包
最新推荐文章于 2023-08-08 10:37:00 发布