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

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