Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
590 views
in Technique[技术] by (71.8m points)

JQuery Ajax status 500 after spring framework upgraded to 5.x?

For past few days I'm working on this issue, After upgrade of spring framework from 4.x to 5.x I got this error in browser Failed to load resource: the server responded with a status of 500 ()

and In Intellij I got this Exception like

Resolved [org.springframework.http.converter.HttpMessageNotWritableException: No converter  with preset Content-Type 'text/html']

after a lot of debugging and research, I didn't found any solution, I'm sending JSON response from my java method which is correct. and working fine in older spring versions,if someone has suggestions or faced such issue feel free to response

Thank you.

question from:https://stackoverflow.com/questions/66061860/jquery-ajax-status-500-after-spring-framework-upgraded-to-5-x

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to answer this question.

Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...