2

I have upgraded spring version in my appliation from 4.3.18.RELEASE to 5.1.5.RELEASE and now getting deployment error:

java.lang.ClassNotFoundException: org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter

With Spring version - 4.3.18.RELEASE and app server wildfly-16.0.0.FINAL, deployment was successful but with spring veersion - 5.1.5.RELEASE, getting above error.

Can anyone give me any clue what other changes I have to do?

1 Answer 1

3

You can remove this bean (class no more existing in 5.x) and add:

<mvc:annotation-driven />
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.