coze-dev / coze-dev/coze-java

andorid 接入 implementation 'com.coze:coze-api:0.2.8' 报错误 !!

オープン
#67 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
214
フォーク
98
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by reproducing the reported exception with implementation 'com.coze:coze-api:0.2.8', then trace serialization from CreateChatReq through messages to MessageContentType. Done means the request serializes successfully without the reported InvalidDefinitionException.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
api
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。