Type mismatch cannot convert from Test to Annotation

Type mismatch: cannot convert from Test to Annotation 今天在配制spring环境时出现这个问题,当时我烦这个Junit包为什么加不上去。 原因是这类名和注解产生冲突了,把类名修改一下好了。 注:下次不要用Test作为类名了,避免错误的发生。
相关文章
相关标签/搜索