BeanDeserializer 警告:如何摆脱它们?

BeanDeserializer Warnings: How to get rid of them?

我有一个 Java 应用程序正在使用软件 (Polarion) 的 SOAP API,我收到 BeanDeserializer 的警告(不管是什么) 我想抑制它,因为它们淹没了我的日志文件但没有已知影响。

所以我收到类似

的警告

[WARN] BeanDeserializer - Invalid element in com.polarion.alm.ws.client.types.tracker.WorkItem - linkedOslcResources

但是我不明白这是什么意思。

根据提供的信息 in another thread I concluded that these Warning occur due to an outdated axis library (I currently use axis-1.4.jar). I used an updated version from this source,导入了 .jar 并删除了前一个,但突然到处都是错误,所以我将我的 lib 文件夹恢复为只有 axis-1。4.jar.

apache 页面不提供 a newer axis version and the maven repo 的 .JAR 下载,说 1.4 是最新的。

现在我没主意了。

将 package/class 的日志级别设置为 OFF 以删除消息,但我建议使用 ERROR,这样您仍然可以在错误发生时识别它们