fastjson導致Consider defining a bean of type '[Ljava.lang.String;' in your configuration.

***************************
APPLICATION FAILED TO START
***************************

Description:

Parameter 0 of constructor in com.alibaba.fastjson.support.spring.FastJsonpResponseBodyAdvice required a bean of type '[Ljava.lang.String;' that could not be found.


Action:

Consider defining a bean of type '[Ljava.lang.String;' in your configuration.

把Application放到com包下報該錯

看了下fastjson版本號1.2.24  升級fastjson版本號即可  爲了防止反序列號漏洞可以升級到1.2.68

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章