users@jersey.java.net

[Jersey] Re: Extended WADL error after upgrading to 1.5

From: Olson, Dan (LNG-CSP) <"Olson,>
Date: Fri, 11 Mar 2011 21:22:53 +0000

I have created issue JERSEY-674 and included a test case. I was not able to make it work with Jersey versions 1.4 and later.

-Dan

From: Pavel Bucek [mailto:pavel.bucek_at_oracle.com]
Sent: Friday, March 11, 2011 12:00 AM
To: users_at_jersey.java.net
Subject: [Jersey] Re: Extended WADL error after upgrading to 1.5

can you please file new issue in JIRA (ideally with a testcase)?

Thanks,
Pavel

On 3/11/11 2:21 AM, Ryan Stewart wrote:
I saw this same problem. My solution was to move back to 1.4 for the time being. It was still an upgrade from 1.2, where we started. I'd like to know if there's a reasonable fix for this, as well.
On Thu, Mar 10, 2011 at 5:24 PM, Olson, Dan (LNG-CSP) <dan.olson_at_lexisnexis.com<mailto:dan.olson_at_lexisnexis.com>> wrote:
Hello:

My project has been working with an extended WADL implementation. Today I upgraded to Jersey 1.5 and am receiving the following exception when requesting application.wadl. The WadlGeneratorConfig matches the samples (remember it worked before the upgrade).

Please help!

HTTP ERROR 500
Problem accessing application.wadl. Reason:
    com.sun.jersey.api.wadl.config.WadlGeneratorConfig$WadlGeneratorConfigDescriptionBuilder.prop(Ljava/lang/String;Ljava/lang/Object;)Lcom/sun/jersey/api/wadl/config/WadlGeneratorConfig$WadlGeneratorConfigDescriptionBuilder;
Caused by:
java.lang.NoSuchMethodError: com.sun.jersey.api.wadl.config.WadlGeneratorConfig$WadlGeneratorConfigDescriptionBuilder.prop(Ljava/lang/String;Ljava/lang/Object;)Lcom/sun/jersey/api/wadl/config/WadlGeneratorConfig$WadlGeneratorConfigDescriptionBuilder;
        at myWadlGeneratorConfig.configure(myWadlGeneratorConfig.java:27)