Kno*_*uch 4 scala intellij-idea
我在IntelliJ 2017.1 Ultimate中编写了一个简单的测试用例.我在IntelliJ中看到一个绝对错误的错误消息
class must either be declared abstract or implement convertToLegacyCheckingEqualizer
Run Code Online (Sandbox Code Playgroud)
我的代码编译并运行得非常好,但IntelliJ版本总是为每个测试类显示此消息.
我用谷歌搜索,发现完全不满意的答案
* I restarted my IDE to solve the problem
* I deleted my idea project and recreated it to solve the problem
* I cleared ivy cache to solve the problem.
Run Code Online (Sandbox Code Playgroud)
这个解决方案是错误的,并没有真正解决问题.
尝试一下:在IntelliJ中,转到" 文件"菜单,然后选择" 无效缓存/重新启动..."选项.在结果对话框中,单击" 无效并重新启动"按钮.
之后的IntelliJ重新启动后,请检查您是否仍然有同样的问题.
| 归档时间: |
|
| 查看次数: |
3061 次 |
| 最近记录: |