created mapped superclass and content negotiation view resolver

all test cases runs fine