Skip to content

Export WAR is missing in STS4 #53

Closed
@anthoniraj

Description

@anthoniraj

Export WAR option is required for Spring Web Projects to Deploy in Tomcat Server. It is missing in Version 4.

Activity

martinlippert

martinlippert commented on May 23, 2018

@martinlippert
Member

Can you provide a sample project for this? And you want to export a WAR file from the IDE instead of the build? Is that correct? Just asking because working on the project within the IDE and using a Tomcat server from within the IDE should not require to export the project as a WAR.

anthoniraj

anthoniraj commented on May 26, 2018

@anthoniraj
Author

I know that but the export WAR was available in STS 3.x versions for any Spring Boot Project. It can be used for exporting spring boot project and can be deployed in dedicated tomcat server. (without using maven build)

martinlippert

martinlippert commented on May 29, 2018

@martinlippert
Member

The WAR export feature is part of the wider Java EE and web features of Eclipse, which we don't include by default anymore in the STS4 distribution builds. You can install those additional features via Install New Software, select the Photon update site, and search for m2e-wtp - Maven Integration for WTP. That one pulls in everything you need to get the WAR file export wizard back into STS4.

pmohmta

pmohmta commented on Nov 29, 2023

@pmohmta

I tried to add additional feature with "Install New Software"
It is found "m2e-wtp - Maven Integration for WTP" is already installed.
What should I do?

martinlippert

martinlippert commented on Dec 4, 2023

@martinlippert
Member

@pmohmta Please go to Install New Software, select the main Eclipse update site, and install the Eclipse Java EE Developer Tools feature. That will bring back the Export as WAR file... action.

pmohmta

pmohmta commented on Dec 4, 2023

@pmohmta

martinlippert,
Thanks. I will try and let you know the result.

pmohmta

pmohmta commented on Dec 4, 2023

@pmohmta

Go to Install New Software. Can not find "main Eclipse update site"

martinlippert

martinlippert commented on Dec 5, 2023

@martinlippert
Member

There should be this update site in the dropdown: https://download.eclipse.org/releases/latest

pmohmta

pmohmta commented on Dec 5, 2023

@pmohmta
martinlippert

martinlippert commented on Dec 11, 2023

@martinlippert
Member

I deleted one comment, it was a duplicate of the previous one here. With regards to the PKIX path failure, this is related to the certificate store of the JDK used to run the IDE, see https://stackoverflow.com/questions/21076179/pkix-path-building-failed-and-unable-to-find-valid-certification-path-to-requ for more details here.

JosephPurcell

JosephPurcell commented on Mar 5, 2025

@JosephPurcell

Worked for me, Thanks Martin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @martinlippert@anthoniraj@JosephPurcell@pmohmta

        Issue actions

          Export WAR is missing in STS4 · Issue #53 · spring-projects/spring-tools