Вопрос

This relates to the problem discussed here.

I am having a similar problem with dateTime elements that contain whitespace in front of the dateTime value. I get a ConversionException with an "Incorrect date-time format ..." message. If I remove all of the whitespace from in front of the value it works. The other strange thing is that I have a custom adapter and it isn't called.

I am using MOXy 2.5, however, I only see the problem on the WebLogic 12c server, so I suspect that the 2.3.2 version that comes with WebLogic is actually being used when my application is deployed.

Это было полезно?

Решение

This was an issue in EclipseLink 2.3.2 that is included with WebLogic 12.1.1. This issue has since been fixed. Here is a link to an article I wrote that demonstrates how to point to a newer version of EclipseLink using a shared library in WebLogic:


The other strange thing is that I have a custom adapter and it isn't called.

Can you provide more details about your adapter?

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top