Skip to content

Liberty plugin keeps adding jsp-2.3 back to server.xml #517

@dougbreaux

Description

@dougbreaux

I'm trying to use just the newer Jakarta levels. I have a simple server.xml with only

    <featureManager>
        <feature>localConnector-1.0</feature>
        <feature>servlet-6.0</feature>
        <feature>pages-3.1</feature>
    </featureManager>

But when I start that server under Eclipse, it always adds back

        <feature>jsp-2.3</feature>

to which Liberty correctly complains

[ERROR ] CWWKF0044E: The jsp-2.3 and pages-3.1 features cannot be loaded at the same time. The jsp-2.3 feature of Java EE 7 is incompatible with the pages-3.1 feature of Jakarta EE 10. The jsp-2.3 and pages-3.1 configured features include an incompatible combination of features. Your configuration is not supported. Update the configuration to use features that support either the Java EE or Jakarta EE programming models, but not both.

Eclipse version:
Version: 2024-12 (4.34.0)
Build id: 20241128-0757

Plugin version:
IBM WebSphere® Application Server Liberty Developer Tools 2024.0.100.v20240731_1210 com.ibm.websphere.wdt.server.tools

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions