Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
从 Payara 4 迁移到 Payara 5 时,我在序列化时遇到了 json 问题。
问题:“无法识别的字段“XXX”(XXX 类),未标记为可忽略“
在迁移手册中,它说我们可以继续使用 JAX-RS,但我看到短期内需要将 JAX 更新为 JSON-B,因此想知道最好的方法。如果是这样,我是否可以在构建器本身中解决此更改,或者我是否需要更新每次出现的 XML 注释并用 JSON 替换它们?
另外,如果 Payara 5 的嵌入解决方案中有 JSON-B 使用的主要类,你能告诉我吗?
谢谢。