IBM Support

"No available bundle exports package javax.servlet" compiler error deploying CICS Explorer wlp.tsq example

Question & Answer


Question

When using CICS Explorer V5.2 and trying to deploy the wlp.tsq example, why am I getting the error "No available bundle exports package javax.servlet" in the Manifest.MF in the WebContent directory of the wlp.tsq.wab directory?

I have successfully resolved the servlet problems in the wlp.tsq.web directory by including the library 'CICS with JAVA EE and Liberty Library' in the wlp.tsq.wab directory, but this does not resolve the manifest problem.

The following is a screen print showing the error from the CICS Explorer:

alt text

Answer

You will need to do the following:

  1. Navigate to the Window > Preferences > Plug-in Development > Target Platform

  2. Check the ''CICS TS V5.2 with Liberty and PHP" as the active target platform

  3. Click Apply

  4. Click OK

alt text

Afterwards, you will no longer receive the compiler errors.

For more information, see the CICS Transaction Server for z/OS (CICS TS) V5.2 documentation Creating the servlet examples in the procedure section 2f.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"CICS Explorer","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

CICS/TS CICSTS CICS TS CICS Transaction Server

Document Information

Modified date:
18 September 2018

UID

dwa1470877