I am trying to add Tomcat server in to STS but I do am not able to do it. Some times the server name doesn't appear when I try to add Tomcat by selecting it from the list, I can't type in the server name myself as well and If that step works properly (I mean when the serve name appears automatically which it should when server is selected form the list); the Finished button is grayed out in the resource page which is the last step in adding the Tomcat server to STS.
Asked
Active
Viewed 69 times
0
-
why you are not using pivotal tc server for development? – atish shimpi Jan 22 '16 at 09:20
-
2I have never used it till date; and I am comfortable using Tomcat. Even If I want to learn how to use Pivotal and use it, I still would want to solve the issue I have now. – Jan 22 '16 at 09:27
-
do u provided path of Tocat Installation Directory? – atish shimpi Jan 22 '16 at 09:32
-
Yes I have provided the path to tomcat directory and also changed the permission of the directory to RWD, still it did not work. I ended up getting the same error. For a fresh copy of STS when I try to add tomcat the finished button is grayed out at the resource step which is the last step, and when I try the next time the server name text box is empty and I am not able to enter the name manually as well; and with out the name I can't proceed to further steps. – Jan 22 '16 at 09:44
-
Can you also share some screenshots? – Betlista Jan 22 '16 at 11:44
-
Think you are changing the "server's host name" (the 1st text box) which should be left as "localhost" since the server is to be run locally (right?). Anything different from localhost makes "Finish" button disabled. Changing "Server's Name" value works fine and Finish button is enabled – aboyko Jan 22 '16 at 16:51
-
I am not changing anything. I am using all default. – Jan 22 '16 at 16:54
1 Answers
0
- Close Eclipse
- In {workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings delete the following two files:
org.eclipse.wst.server.core.prefs
org.eclipse.jst.server.tomcat.core.prefs
- Restart Eclipse
this is actually a bug. got this from this question actually Eclipse add Tomcat 7 blank server name