TypeNotPresentExceptionProxy

前端 未结 1 1799
自闭症患者
自闭症患者 2021-02-06 20:46

When upgrading from Surefire 2.6 to Surefire 2.13, I get a TypeNotPresentExceptionProxy when running my unit tests.

java.lang.ArrayStoreException: s         


        
1条回答
  •  暖寄归人
    2021-02-06 21:06

    Run mvn dependency:resolve

    Exclude any 3.x version of JUnit that may have crept in.

    Make sure there are no TestNG dependencies, if there are it will load TestNG annotations and not the JUnit ones you need.

    0 讨论(0)
提交回复
热议问题