我们只使用componentTests(服务测试)获得此异常。
> com.thoughtworks.xstream.converters.ConversionException: Cannot create
> org.joda.time.chrono.ISOChronology$Stub by JDK serialization : null :
> Cannot create org.joda.time.chrono.ISOChronology$Stub by JDK
> serialization : null
> ---- Debugging information ---- message : Cannot create org.joda.time.chrono.ISOChronology$Stub by JDK serialization : null
> cause-exception :
> com.thoughtworks.xstream.converters.reflection.ObjectAccessException
> cause-message : Cannot create
> org.joda.time.chrono.ISOChronology$Stub by JDK serialization : null
> class :
> com.orbitz.tbs.model.txn.reservation.ReservationInfo
> required-type : org.joda.time.chrono.ISOChronology$Stub
> path :
> /com.orbitz.tbs.model.txn.reservation.ReservationInfo/reservationsByLocator/entry/com.orbitz.tbs.model.txn.BookReservation/reservationDate/iChronology
当我们实际运行代码时,我们不会收到任何错误。谁能告诉我应该使用哪些库版本?
我们从6更新到JDK 8,那时我们开始收到此错误。