Spring Test DBunit Warning

后端 未结 4 1824
迷失自我
迷失自我 2021-02-19 03:45

I am using spring-test-dbunit and I get a warning in my Unit tests with this message:

Code:

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration         


        
4条回答
  •  抹茶落季
    2021-02-19 04:03

    Problem solved. I add the following configuration to applicationContext.xml (context.xml) .

    
            classpath:jdbc.properties
         
      
    
    
        
        
        
        
    
    
    
    
    
         
     
    
        
        
    
    

提交回复
热议问题