Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

在整合Spring Boot中FastJsonHttpMessageConverter的错误 #591

Closed
boomyamm opened this issue Apr 28, 2016 · 4 comments
Closed

在整合Spring Boot中FastJsonHttpMessageConverter的错误 #591

boomyamm opened this issue Apr 28, 2016 · 4 comments
Milestone

Comments

@boomyamm
Copy link

boomyamm commented Apr 28, 2016

1.2.10版本的jar包中FastJsonHttpMessageConverter类缺失canWrite相关的方法实现, 导致在与spring boot整合的过程中报错, java.lang.AbstractMethodError: com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter.canWrite(Ljava/lang/reflect/Type;Ljava/lang/Class;Lorg/springframework/http/MediaType;)Z
但是在master分支的源码中却是包含canWrite相关方法的实现, 这是什么原因导致的?
@wenshao

@VictorZeng
Copy link
Contributor

FastJson 1.2.10 目前不兼容 Spring 4.2+
下一版本中将进行更新

@wenshao wenshao added this to the 1.2.11 milestone Apr 28, 2016
@wenshao
Copy link
Member

wenshao commented Apr 28, 2016

@VictorZeng 准备五一期间发布1.2.11版本,麻烦发布前再看看是否会有BUG和兼容问题

@VictorZeng
Copy link
Contributor

@wenshao okay

@wenshao wenshao closed this as completed May 2, 2016
@wenshao
Copy link
Member

wenshao commented May 2, 2016

1.2.1发布了,问题已经解决。请使用新版本 https://github.com/alibaba/fastjson/releases/tag/1.2.11_release

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants