IBM Support

Adding SQLJ support to Web project result in error "The set of natures is not valid"

Troubleshooting


Problem

Attempts to add SQLJ support to Web projects that are targeted for the IBM WebSphere Application Server (WAS) version 5.x result in error "The set of natures is not valid" in IBM Rational Application Developer for WebSphere Software (RAD).

Symptom

Attempts to add SQLJ support to Web projects that are targeted for WAS version 5.x result in error:

The set of natures is not valid

You can, however, successfully add SQLJ support to the WAS version 6.x targeted Web projects.

Cause

This error occurs because the compatibility mode for IBM WebSphere Studio Application Developer (WSAD) is checked by default for WAS version 5.x targeted projects created in RAD.

Resolving The Problem

If there are no plans to code or view them back and forth in WSAD as well as in RAD, then you can disable the WSAD compatibility mode, which prevents this error from occurring.

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Data Access Applications","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"6.0;6.0.0.1;6.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Data Access Applications","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 September 2020

UID

swg21222322