andorid 接入 implementation 'com.coze:coze-api:0.2.8' 报错误 !!
- Ngôn ngữ chính
- Java
- Star
- 214
- Fork
- 98
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class com.coze.openapi.client.connversations.message.model.MessageContentType and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: com.coze.openapi.client.chat.CreateChatReq["messages"]->java.util.Collections$SingletonList[0]->com.coze.openapi.client.connversations.message.model.Message["contentType"])
No serializer found for class com.coze.openapi.client.connversations.message.model.MessageContentType and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện ngoại lệ đã được báo cáo với implementation 'com.coze:coze-api:0.2.8', sau đó lần theo quá trình serialization từ CreateChatReq qua messages đến MessageContentType. Công việc được xem là hoàn tất khi request được serialization thành công mà không gặp InvalidDefinitionException đã được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- api
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100