When you migrate to WebSphere Application Server traditional or Liberty, or between versions of WebSphere traditional, you must configure the target runtime to match the target application server. If any server runtimes are defined in Eclipse, then this rule flags Eclipse projects with a target runtime that does not match the target application server.
To resolve this issue, right-click the project in Project Explorer or Package Explorer and select Properties
then Targeted Runtimes. Select the target application server and click Apply.
If the target application server is not displayed in the list of available target runtimes, click New to
add the server runtime environment to the workspace.
When you migrate from WebSphere traditional to Liberty, the Liberty server might be hidden from view because of WebSphere traditional
project facets that are configured on the project. Select Project facets and remove any project facets that are
related to WebSphere traditional. You can then select the Liberty server in the Targeted Runtimes panel.
For more information about configuring the target runtime in Eclipse, see the Eclipse documentation Specifying target servers for J2EE projects.