Can't get a Static Web Project to be available in Servers 'Add and Remove' in SpringSource Tool Suite - eclipse

I am trying to add a Static Web Site to my localhost server. But, I can't seem to get it to show up as a resource for me to add it to my server as a configured resource.
In the Eclipse project navigator, I select File-->New-->Project-->Web-->Static Web Project, I type in project 'XYZ', and click finish. Then, when I go to my servers view and click the localhost server, and click 'Add and Remove', my new project XYZ doesn't show up for me to select.
If I do a File-->New-->Project-->SpringSource Tool Suite-->Spring Template Project-->Spring MVC project, then STS creates the project and it shows up in the 'Add and Remove' window of the localhost server.
This little XYZ is a super simple site of one page and three graphics. I don't particularly want to have all the muss and fuss the fully dynamic Spring app involves.
But maybe I have to.
Thanks

Related

missing profile for a server adapter in Eclipse

I am trying to set up a dynamic web project in Eclipse 2018-12. Within the Java EE perspective, the lower panel is hosting several commonly used views (markers, console, snippets, search ), among which the Servers view offers the possibility to bind the current project to an already existing server.
If no such server is defined, this view is showing a quick link to "add new server. When one is about to define a new server, a creation wizard takes off, and the first window you get is the profile select window. I would like to set up a Tomcat server, but my initial list does not include Apache Tomcat at all.
Question: how am I supposed top populate the initial list with a desired web server profile template ?
I have searched for Eclipse download links and the first link (and the only one shown there) on the Eclipse Foundation page was Eclipse 2018-12. It seemed pretty good at the time. Now the same page shows Eclipse 2019-06 (64-bits).
Upgrading the current intallation with the JST Server Adapter Extensions did the job nicely. Thank you nitind !

Tomcat - how to create multiple servers with separate configuration

I'd like to run a separate Tomcat Server in my Eclipse/STS environment to mirror the production environment. I managed to create a new Tomcat server with copy/paste, but the "Server" section under navigator still shows only a single Tomcat server. Any idea how to fix this?
1st. Copy-paste the configuration located in Servers project, and rename it to the_new_server
2nd. Copy-paste the server in "Servers" view
3rd. Double click the newly created server, fill the fields as shown, use the Browse button for choosing the configuration path, otherwise won't work, and save
4th. Right click the new server and select Properties. Click "Switch location".
A dialog will appear asking you "Do you want to rename...", but this is not important, if you click "yes", the config folder will be automatically renamed to the_new_server-config.
5th. That's it.

JSR-109 Web Services remove in Eclipse

In Eclipse's Project Explorer view there is a project named "JSR-109 Web Services" that can not be deleted or removed.
I did not create this project. It came to Project Explorer by itself.
How do I remove this "JSR-109 Web Services"?
Select "Customize View..." on the Project Explorer view's menu (on the view's upper-right upside-down triangule button).
Select the "Content" tab and uncheck "JSR-109 Web Services Index".
Delete the folder named RemoteSystemsTempFiles in your workspace
JSR-109 Web Services is not a project. Its an implementation standard that ensures that your Web Service maintains the Standards and it (your Service) interoperate with other service there is..
Follow the link for more details.
Eclipse Documentation
and the following link has a work around on removing the same.
uncheck JSR-109 Web Services
really uncheck JSR-109 Web Services

How to remove a configuration in Eclipse GWT

I have migrated my application development to a new PC and now when I run the application (Run > Run as > Web application). I get the "HTML Page Selection" popup in which I select my application. However, now I also get a "Choose a launch configuration:" popup which lists "AwardTracker" and "AwardTrackwer.html". They both do the same thing. How do I remove one of these please (this is more annoying than anything else)?
Regards,
Glyn
How to remove a configuration in Eclipse GWT
Simply select any Web Application and click on RED X icon displayed on top right of it to remove an existing configuration.
Once a Web Application is configured then there is no need to create it again. Just launch it from existing one to avoid it choosing a launch configuration again.
Once configured then don't run it again by RIGHT click on the project to run as Web Application. Simply select from the existing one form the tool bar as shown in below screenshots.
Click Run > Run Configurations > your configuration (typically, a name of your HTML or JSP file) > Arguments.
Make sure you only have the path that you want to launch.

Removing Axis webservice in eclipse

I can't delete a deployed web service inside an Eclipse Dynamic Web Project.
I can't find the ws deployment anywhere in the Project Explorer window (i was looking for some icon to right click it and delete), so i tried this:
Removing the web service through Axis Administration Web page: the web service is removed from the list, but it's still there.
And If I delete the folder mydwpproject/services/servicename/, it spawns back the next time i reboot the Tomcat Server.
How am i supposed to get rid of the old web services?
Going to the physical location of the project and deleting the .wsdl, related folder structure may help.