java: 無法訪問org.springframework.web.bind.annotation.GetMapping …具有錯(cuò)誤的版本 61.0,應(yīng)為52.0
problem
啟動(dòng)springboot工程時(shí)報(bào)錯(cuò) 提示版本不對
reason
jdk版本1.8 與 spring boot 3.0.0 版本不匹配
降級 springboot即可 2.6.0
solution
解決辦法:修改springboot 版本
修改完之后版本:文章來源:http://www.zghlxwxcb.cn/news/detail-545276.html
成功啟動(dòng)文章來源地址http://www.zghlxwxcb.cn/news/detail-545276.html
到了這里,關(guān)于java: 無法訪問org.springframework.web.bind.annotation.GetMapping ...具有錯(cuò)誤的版本 61.0,應(yīng)為52.0的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!