Hi there,
If I run my service request method using a client app, basically just
posting to the service endpoint, it works successfully.
However, if I try run the exact same method within a unit test, I get the
following exception. How can I tell CXF to use the same parsing strategy in
a unit test, that is being used in the regular deployed code?
java.lang.NoSuchMethodError: java.sql.Timestamp.<init>()
at com.sun.xml.bind.v2.ClassFactory.create0
If I run my service request method using a client app, basically just
posting to the service endpoint, it works successfully.
However, if I try run the exact same method within a unit test, I get the
following exception. How can I tell CXF to use the same parsing strategy in
a unit test, that is being used in the regular deployed code?
java.lang.NoSuchMethodError: java.sql.Timestamp.<init>()
at com.sun.xml.bind.v2.ClassFactory.create0