Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is equivalent class for AbstractDependencyInjectionSpringContextTests in Spring 4.2.5.relese

I was using Spring 2.5, but now using Spring 4.2.5 so due to this error occurred so I need to know that which class is use instead of this AbstractDependencyInjectionSpringContextTests.

enter image description here

like image 921
dhirendra singh Avatar asked Oct 29 '22 02:10

dhirendra singh


1 Answers

You should replace with AbstractJUnit4SpringContextTests see deprecated notes:

as of Spring 3.0, in favor of using the listener-based test context framework (AbstractJUnit4SpringContextTests)

like image 62
user7294900 Avatar answered Nov 10 '22 17:11

user7294900