You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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)
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.
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?
@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.
Martin,
Thanks for replying.
Error found when install Eclipse Jee Package:
Unable to read repository at https://download.eclipse.org/releases/latest/content.xml.
Unable to read repository at https://download.eclipse.org/releases/latest/content.xml.
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
***@***.***
Peter Moh
From: Martin Lippert ***@***.***>
Sent: Monday, December 4, 2023 12:02 PM
To: spring-projects/sts4 ***@***.***>
Cc: Moh, Peter ***@***.***>; Mention ***@***.***>
Subject: Re: [spring-projects/sts4] Export WAR is missing in STS4 (#53)
@pmohmta<https://github.com/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.
-
Reply to this email directly, view it on GitHub<#53 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BEIO3XNALMTRPGZ7GRYTMF3YHX6XPAVCNFSM4E5N3TQKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBTHEYDQMJUHE4Q>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
Confidentiality Note: This e-mail, and any attachment to it, may contain privileged and confidential information and is intended for the use of the individual(s) or entity named on the e-mail. Unauthorized disclosure of this message is prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and destroy this message and all copies thereof, including all attachments.
Activity
martinlippert commentedon May 23, 2018
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 commentedon May 26, 2018
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 commentedon May 29, 2018
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 form2e-wtp - Maven Integration for WTP
. That one pulls in everything you need to get the WAR file export wizard back into STS4.pmohmta commentedon Nov 29, 2023
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 commentedon Dec 4, 2023
@pmohmta Please go to
Install New Software
, select the main Eclipse update site, and install theEclipse Java EE Developer Tools
feature. That will bring back theExport as WAR file...
action.pmohmta commentedon Dec 4, 2023
martinlippert,
Thanks. I will try and let you know the result.
pmohmta commentedon Dec 4, 2023
Go to Install New Software. Can not find "main Eclipse update site"
martinlippert commentedon Dec 5, 2023
There should be this update site in the dropdown:
https://download.eclipse.org/releases/latest
pmohmta commentedon Dec 5, 2023
martinlippert commentedon Dec 11, 2023
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 commentedon Mar 5, 2025
Worked for me, Thanks Martin!