Unused import statement在File菜单 invalidate caches/restart选项,点击完重新加载完还是会报错怎么办?
unused这个只是提示你这个导入语句没有用。在idea中可以使用ctrl + alt + O快捷键 自动移除无用的导入