Annotation type expected 预期注释类型

Posted 云和数据张老师

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Annotation type expected 预期注释类型相关的知识,希望对你有一定的参考价值。

问题描述:

已经添加了Junit包的依赖,在之后标注测试类仍然显示Annotation type expected

错误原因:类名不能与关键字一样,所以将类名修改一下即可。

以上是关于Annotation type expected 预期注释类型的主要内容,如果未能解决你的问题,请参考以下文章