I was trying to write unit test for Servlet using sprint-test using mock object
my maven dependency is:
I need to replace dependency for javaee-api with javax.selvlet-api as below:
javax.servlet javax.servlet-api 3.1.0