Mule の DataMapper スクリプト内でデータ形式変換を使用しています。
dateTimeFormatter = new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
output.Date_of_Rate_Float__c = (isnull(input.Date_of_Rate_Float) ? null : dateTimeFormatter.format(input.Date_of_Rate_Float));
マッピングを保存しようとしているとき。エラーを下回っています
Root Exception stack trace:
org.apache.commons.beanutils.ConversionException: DateConverter does not support default String to 'Date' conversion.
at org.apache.commons.beanutils.converters.DateTimeConverter.toDate(DateTimeConverter.java:468)
しかし、dateTimeFormatter を削除しても、エラーは発生しません。dateconversion を使用する必要があります。これを解決する他の方法はありますか。
前もって感謝します。