Customer might encounter "javax.ws.rs.core.MultivaluedMap.addAll(Ljava/lang/Object;[Ljava/lang/Object;)Vjava.lang.NoSuchMethodError" error after upgrading to REST JSON Plugin 2.1.0
book
Article ID: KB0082514
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for REST and JSON
2.1.0
Description
Some customers might encounter "javax.ws.rs.core.MultivaluedMap.addAll(Ljava/lang/Object;[Ljava/lang/Object;)Vjava.lang.NoSuchMethodError" error after upgrading from REST JSON plugin 2.0.0 to REST JSON Plugin v2.1.0. This issue is due to incorrect installation of REST JSON plugin 2.1.0. If installing v2.1.0 on top of v2.0.0. The libraries for v2.0.0 will present along with new added v2.1.0 libraries and causing discrepancies.
Environment
Operation System: All
Resolution
To resolve this issue, please following below steps:
1. For Design time, please firstly uninstall the v2.1.0, then uninstall v2.0.0, and reinstall the v2.1.0. After installing the v2.1.0 please open the old project in new Designer, following guideline in Designer to upgrade the project and recreate the .ear file. Or you can also open the old project in a new environment which install the v2.1.0 only.
2. For Runtime, please uninstall the v2.1.0, then uninstall v2.0.0, and reinstall the v2.1.0. Redeploy the new .ear file created from step 1.
Issue/Introduction
Customer might encounter "javax.ws.rs.core.MultivaluedMap.addAll(Ljava/lang/Object;[Ljava/lang/Object;)Vjava.lang.NoSuchMethodError" error after upgrading to REST JSON Plugin 2.1.0