Yes, you're right. With CXF 2.1.2, there is no more exception. :-)
Thanks.
Priscille.
Sergey Beryozkin a écrit :
Hi Priscille
In 0.8 api, MediaType has had its parse() method renamed to valueOf().
Any chance you can update your cxf dependency to 2.1.2 ? As far as I
rememebr in 2.1.1 JAX-RS 0.8 was not supported yet...
Cheers, Sergey
Hi all!
While sending a request to my RESTful service (developed as described
here http://cwiki.apache.org/CXF20DOC/jax-rs-jsr-311.html ),
I have this exception :
java.lang.NoSuchMethodError:
javax.ws.rs.core.MediaType.parse(Ljava/lang/String;)Ljavax/ws/rs/core/MediaType;
org.apache.cxf.jaxrs.JAXRSUtils.findTargetMethod(JAXRSUtils.java:232)
org.apache.cxf.jaxrs.JAXRSUtils.findTargetResourceClass(JAXRSUtils.java:212)
org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:109)
What's the problem, please? What's wrong?
Thanks in advance.
--
---------------------------------------------
Priscille DURVILLE
INRIA
Equipe Edelweiss (ex Acacia)
[EMAIL PROTECTED]
Tél : 01 39 63 52 77 (Paris - Rocquencourt)
Tél : 04 92 38 50 23 (Sophia Antipolis)
Fax : 04 92 38 77 83
I.N.R.I.A.
Unité de Recherche Sophia-Antipolis
2004 route des Lucioles - B.P. 93
06902 Sophia-Antipolis Cedex
FRANCE
---------------------------------------------
--
---------------------------------------------
Priscille DURVILLE
INRIA
Equipe Edelweiss (ex Acacia)
[EMAIL PROTECTED]
Tél : 01 39 63 52 77 (Paris - Rocquencourt)
Tél : 04 92 38 50 23 (Sophia Antipolis)
Fax : 04 92 38 77 83
I.N.R.I.A.
Unité de Recherche Sophia-Antipolis
2004 route des Lucioles - B.P. 93
06902 Sophia-Antipolis Cedex
FRANCE
---------------------------------------------