Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

cxf throws Timestamp error on unit test but not in deployed app

$
0
0
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

Viewing all articles
Browse latest Browse all 5648

Latest Images

Trending Articles



Latest Images