I am trying to use Tomcat 6.0 as a web development server within SpringSource Tool Suite 2.7.1. I create a runtime, download tomcat, create a server, etc as per these instru
None of the above answers provide proper concrete solution. I faced exactly same issue and i figured out a very simple solution.
Open Eclipse and remove all entries of Apache server
Delete Servers from explorer tab, delete Tomcat from server explorer window, delete server from Window > Preferences > Server > Apache tomcat
, delete it, also delete servers
folder inside EclipseProjects
.
Place Apache tomcat folder outside the project folder anywhere you wish to, you can place in Eclipse_Projects
folder but not inside EclipseProjects/projectxyz/
.
Now add server in eclipse the usual way and give path of this new location.
This should work!
this could happen if you probably used previous tomcat server in eclipse, so deleting server and its configuration and creating another one will make it work .
Or you may delete the servers configuration, and configure the server again. This works when you may have changed the directory of the server.
I have faced the same problem.
Solution: In Project Explorer--> Servers(right click) --> Run As --> Run Configurations(click) --> (Select "Tomcat v7.0 Server at localhost") --> Arguments(tab) --> Working directory(bottom of window) --> others : (click workspace) --> select the "boostraps.jar" from -->Server.
Eg., My workspace.MY path is:
Project Explorer --> Servers(right click) --> Run As --> Run Configurations(click) --> (Select "Tomcat v7.0 Server at localhost") --> Arguments(tab) --> Working directory(bottom of window) --> others : (click workspace) --> /home/ciprus//Servers --> click apply.
You might want to check/manually edit your path by going into server properities:
In Servers view,
1) double-click on Tomcat server.
2) Then click on Overview of Tomcat settings appears.
3) "Open launch configuration" then Classpath
4) Edit User Entries here
same problem in my case also i solved::
just remove your older tomacat server and add tomcat 8.0 version only