SpringJUnit4ClassRunner class not found

前端 未结 7 832
长发绾君心
长发绾君心 2021-01-07 18:16

i am trying to create a unit test using SpringJUnit4ClassRunner but everytime i execute the test it says it cannot find SpringJUnit4ClassRunner using mvn install.

         


        
7条回答
  •  無奈伤痛
    2021-01-07 18:52

    I fixed this one by

    • Deleting my local maven repo (~/.m2/repository) and
    • In eclipse forcing a new build (Project->Clean...)

    Sourced from the appfuse forums

提交回复
热议问题