Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

BeanDeserializer Warnings: How to get rid of them?

I have a Java application which is using the a SOAP API of a software (Polarion) and I get warnings of BeanDeserializer (whatever that is) which I want to suppress because they flood my logfile but have no known impact.

So I get warnings like

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

but I can't figure out what this means.

Based on the provided info 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, imported the .jar and removed the former one but the suddenly there errors all over the place so I restored my lib folder to having only the axis-1.4.jar.

The apache page does not provide a download of a .JAR of a newer axis version and the maven repo says 1.4 is the latest one.

And now I am out of ideas.

like image 741
Bruder Lustig Avatar asked Jun 08 '17 11:06

Bruder Lustig


1 Answers

Set the log level for that package/class to OFF to get rid of the messages but I would suggest using ERROR so you can still identify errors if they occur

like image 122
Jesse Nelson Avatar answered Sep 27 '22 18:09

Jesse Nelson