Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find the option Run On Server under Run As #283

Closed
d02wang opened this issue May 1, 2019 · 6 comments
Closed

Cannot find the option Run On Server under Run As #283

d02wang opened this issue May 1, 2019 · 6 comments
Milestone

Comments

@d02wang
Copy link

d02wang commented May 1, 2019

Hi, I need help for running my existing maven project in STS 4.
I have a maven project using Java 7 and Tomcat 8.0, created by using STS 3.7. Now I download STS 4 and launch it, then point the workspace to the original one. After build, there is no error. Tomcat 8.5 is added.

Now I want to run my project on the server tomcat 8.0 or tomcat 8.5, but I cannot find the option Run As --> Run On Server like in STS 3 for the project in STS 4.

@martinlippert martinlippert added this to the 4.2.2.RELEASE milestone May 4, 2019
@martinlippert
Copy link
Member

That is correct, this is a missing feature in the latest Spring Tools 4.2.1 release that got added (and fixed) for the next upcoming release (4.2.2), to be released in late May 2019.

More details on this can be found here (including a description how to fix an existing STS 4.2.1 install): #96 (comment)

@Astrogeek77
Copy link

I am facing the Same issue in version 4.19.1, any method to resolve it?

@martinlippert
Copy link
Member

The drag&drop part of this as well as the Run On Server menu item is part of the Eclipse Java EE Developer Tools feature that we don't install by default anymore into the Spring Tools distribution for Eclipse.

Yon can install this feature anytime yourself by going to Help -> Install New Software, then select the Latest Eclipse Release - https://download.eclipse.org/releases/latest update site from the dropdown, and search for the feature.

Depending on all the update sites you have collected over time in your preferences, there might be an error showing up that certain there is no repository found that contains certain bundles. In that case, make sure to de-activate all the other update sites in the preferences except from the main Eclipse one (the one mentioned above) and try the install again. Once installed and restarted, the menu items and drag&drop actions are back.

@akashsagar8
Copy link

i m also facing the same issu , although you proivided the ans ------------- help-install-new software----but i could not understand in better way, can you explain again

@martinlippert
Copy link
Member

Please go to Help -> Install New Software. This opens a dialog. In the Work with drop-down box, select the update site Latest Eclipse Release - https://download.eclipse.org/releases/latest. Search for Java EE in the filter text field, this will trim down the list of features a bit. Then, select the Eclipse Java EE Developer Toolsfrom that list, deactivate the Contact all update sites during install... checkbox below, and press Next. Then follow the next dialog pages, press finish in the end, and your are done. Hope this helps.

@akashsagar8
Copy link

thank you so much sir ji,................................................😍😍😍😍😍😍😍😍😍😍😍😘😘😘😘😘😘😘😘😘😘😘😘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants