IBM Support

Dynamic Web Project with web module version 5.0 or newer cannot be created with message "requires Java 1.8 or newer"

Troubleshooting


Problem

You are creating a Dynamic Web Project to deploy into Liberty in CICS Transaction Server for z/OS (CICS TS).
You are planning to add the CICS TS libraries to your project after creating it.
You set your Dynamic web module version to 5.0 or newer.
The dialog cannot continue with an error message similar to "Dynamic web module 5.0 requires Java 1.8 or newer".

Symptom

When creating a Dynamic Web Project, the dialog cannot be completed because of an error similar to "Dynamic web module 5.0 requires Java 1.8 or newer".

Cause

A bug in Eclipse (https://bugs.eclipse.org/bugs/show_bug.cgi?id=580990) means that the Dynamic Web Project dialog does not support versions of Dynamic web module from 5.0 onwards, without selecting a Target runtime.

Environment

CICS Explorer for Aqua 3.3 (or newer)
CICS Explorer installed into a version of Eclipse 2022-03 (or newer)

Resolving The Problem

To resolve the problem, create the project with a Dynamic web module version of 4.0.
Finish the wizard and locate the project in Eclipse's Package Explorer or Project Explorer view.
Right-click on the project and choose Properties.
Choose Project Facets and adjust the version of the Dynamic Web Module facet to your required version.
Click OK to accept the change.

Document Location

Worldwide


[{"Type":"MASTER","Line of Business":{"code":"","label":""},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC8GK3","label":"Explorer"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Product Synonym

CICS/TS CICS TS CICS Transaction Server

Document Information

More support for:
Explorer

Software version:
All Versions

Document number:
7148046

Modified date:
15 April 2024

UID

ibm17148046

Manage My Notification Subscriptions