java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotationUtils.isInJavaLangAnnotationPackage(Ljava/lang/annotation/Annotation;)Z

前端 未结 5 1567
滥情空心
滥情空心 2020-12-01 16:08

Am very new to spring and JUnit. Am trying to run a simple JUnit test case for spring service class, but it fails and I get this exception.I didnt write any test yet, but t

5条回答
  •  眼角桃花
    2020-12-01 16:44

    That method appeared in that commit, which seems to be 4.0.3+. Just update spring dependencies to the latest version.

提交回复
热议问题