@RunWith注解不生效


   org.springframework.boot
   spring-boot-starter-test
   test
   
      
         org.junit.vintage
         junit-vintage-engine
      
   

把中间那个删咯

变成这样


   org.springframework.boot
   spring-boot-starter-test
   test
   

然后 

pom.xml->maven->reimport就好了

 

你可能感兴趣的:(@RunWith注解不生效)