Educating the world

Our blog has over 10,000 readers a month

« Forwarding Plesk mail from a virtual email address to multiple recipientsrm: Argument list too long »


Comment from: Anil Singh Bist [Visitor]  
Anil Singh Bist

Hi it’s a really a nice article

23/08/08 @ 06:59
Comment from: Raju R [Visitor]
Raju R

Nice article….

15/09/08 @ 04:14
Comment from: Tirumala [Visitor]

Good Cheat sheet.

18/09/08 @ 05:47
Comment from: John [Visitor]

Thanks for that. Other sites recommend installing the sydeo tomcat plugin for eclipse, in order to use tomcat with eclipse. I presume this plugin was only necessary for non-jee earlier versions of eclipse (pre version 3.4), which didn’t support tomcat out of the box, am I right? I’m trying to decide whether to also add the plugin or not. Do you think it’s necessary/beneficial? I want to keep everything down to the bare necessities, to help in understanding it. Any suggestions?

30/09/08 @ 15:32
Comment from: davidnewcomb [Member]  

Yes, you are correct.
The JEE version of Eclipse comes with support for several versions of application servlet container and application server e.g. JBoss, WebSphere, JOnAS, Oracle OC4J and Apache Tomcat.
I found there was no need to load any “extra” plugins.

You still need installed copies of those applications but if you follow my instructions, just substitute Tomcat with your application.

01/10/08 @ 10:50
Comment from: Sam Russell [Visitor]
Sam Russell

Thanks so much for this article. It’s often tough to find ‘current’ posts on how to set things up in eclipse but this one worked like a charm. Thanks again.

08/11/08 @ 15:58
Comment from: Atul [Visitor]  

It’s really simple short and nice article helped a lot in setting up the env.

Would appreciate if any one can give me some sample projects ref of spring webservice. thanks in advance!!

10/11/08 @ 01:37
Comment from: juni [Visitor]


i have to work struts2.0 with tomcat6.0 in Eclipse Ganymede..

i configured tomcat6.0 like u said here… but i couldnt get the output when i tried http://localhost:8080/ in the browser… it should show tomcat home page na..

since its not worked i havent try struts2.0 .. can u please tell me the solution for this

06/01/09 @ 10:18
Comment from: davidnewcomb [Member]  

Sorry Juni, but this article is Tomcat and Spring not Tomcat and Strut. The answer to your problem could literally be anything!

Try asking in the Spring Forum.

06/01/09 @ 17:08
Comment from: Nikhil Lanjewar [Visitor]
Nikhil Lanjewar

Hi All,
I’ve been through all the posts in this forum. I’ve been trying to run my Dynamic Web Project from Eclipse Ganymede itself. I’m planning to use the run time debugging feature so that it becomes easier to debug my Spring webservice. As mentioned by Juni, even I’m not able to get my tomcat working. The server is in running condition but it fails and gives a 404 HTTP not found error if I hit any URL on localhost:8080. Everything works fine if I deploy my project using an Ant script and run my server separately. But in that case, I’m not able to debug the same. A possible reason for such a problem is that Eclipse is trying to run tomcat as a separate instance and takes the webapps from .metadata/.plugins/org.eclipse.wst.server.core/tmp0 in its workspace directory.
It has been mentioned on some other forums that unchecking on “Run directly from workspace” option in the Server Overview shall make Eclipse work in CATALINA_HOME/webapps instead of the workspace directory. However, I’m not able to find such an option in Ganymede. Also, the Server Locations have been disabled on its Overview page due to some reason. There’s a radio button that would enable me to alter the path but changing that option is not allowed. Is there a way to fix this?
I’m not able to get my Apache Tomcat 6 and its web applications running from within Eclipse.

20/01/09 @ 11:00
Comment from: davidnewcomb [Member]  

I’m afraid that I don’t know how to get Tomcat webapps to run from the Eclipse workspace directly. The publish process copies the required files and libraries into .metadata/.plugins/org.eclipse.wst.server.core/tmp0 before tomcat is launched from inside Eclipse.
Eclipse runs tomcat by explicitly setting catalina.base, catalina.home, wtp.deploy and java.endorsed.dirs to point to your .metadata directories.

In order to do the publish you must associate the dynamic web project with the Tomcat server in the Server view.

20/01/09 @ 12:24
Comment from: Nikhil Lanjewar [Visitor]
Nikhil Lanjewar

Any idea if the “Run directly from workspace” option is available in Europa build of Eclipse?
I’m ready to downgrade if thats exactly what it takes to run Tomcat successfully. :(

20/01/09 @ 14:36
Comment from: David Erichsen [Visitor]
David Erichsen

Hey! Thanks for the great article!

Do you visit any informative spring or JSF websites you could share as well?

10/02/09 @ 23:59
Comment from: davidnewcomb [Member]  

Everything I don’t work out myself comes from the Spring Source forums.

11/02/09 @ 11:51
Comment from: Ashish [Visitor]

Nice article

25/03/09 @ 00:47
Comment from: lr [Visitor]

Thanks, explanation is clear and detailed.


15/04/09 @ 10:23
Comment from: KLR [Visitor]

Wonderfull article …. Thank God for people like you …

13/05/09 @ 00:04
Comment from: davidnewcomb [Member]  

Thank you - I think that’s the nicest compliment anyone has given.

13/05/09 @ 12:54
Comment from: Jens Weber [Visitor]
Jens Weber

Thank you very much - as easy as possible and it works! You saved me hours of my limited Bachelor Project time.

13/05/09 @ 13:42
Comment from: srikanth [Visitor]

super article thank you

15/05/09 @ 07:17
Comment from: x [Visitor]

Very nice howto. Even better then the incomplete and frustrating installation instructions I read in ebooks like Spring 2 from novice to professional or Spring in action.

Thumbs up

21/05/09 @ 20:53
Comment from: Diego [Visitor]

Good! clear and helpful.. Even do, a bit more explanation on what´s means to add Spring Project nature will be graceful

13/08/09 @ 18:00
Comment from: Samhitha [Visitor]

Thanks for the instructions, following the instructions works straight away which is quite unusual.

18/08/09 @ 02:05
Comment from: Dilip [Visitor]  

Wonderful, easy instructions. Thanx!

20/08/09 @ 17:11
Comment from: Addy [Visitor]

Thanks for the clear article. Instead of tomcat can we configure Websphere Application server. If yes, can someone provide me with the details or URL to find help or any tips, i mean anything will help…

thanks in Advance

05/11/09 @ 06:10
Comment from: megan [Visitor]

Very good article! The author seems to be deeply interested in what he writes about. And readers feel that at once.

30/12/09 @ 09:19
Comment from: Vicky Gupta [Visitor]
Vicky Gupta

Hi, Really a good article.
Thanks a lot for help. :)

13/02/10 @ 11:07
Comment from: Prashant [Visitor]

Thanks a lot.
Article great help.

25/03/10 @ 05:02
Comment from: Evgenia [Visitor]

Thank you a lot, there are no complete articles about Tomcat-Eclipse-Spring integration! Thank you

29/04/10 @ 10:27
Comment from: Swati [Visitor]

Great Help.. I agree with KLR thank GOD for people like you…

03/10/10 @ 19:49
Comment from: bird [Visitor]

Thanks for the info. it was a quick reference without having to trouble my own grey cells!

04/10/10 @ 07:44
Comment from: Vivek [Visitor]


I have OS as windows vista,

I have configured with the steps as given above.

Now i receive an error “Several ports (8005, 8080, 8009) required by Tomcat v6.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).” when i am trying to start the server.


27/12/10 @ 17:10
Comment from: Rajan [Visitor]

Hi Vivek,

Check in the processes tab under the windows task manager, there will be two java processes. You need to kill the java process which is consuming lesser memory. This will resolve the problem of the several ports already in use


19/01/11 @ 16:45
Comment from: Jinju [Visitor]  

When try to install by this way(From Help->Software Updates give link to eclipse to download springide which is ““), it shows below message.i can’t move to next step ,what i can do?

Cannot complete the install because one or more required items could not be found.
Software being installed: SpringSource Tool Suite (required) (
Missing requirement: com.springsource.sts.ide.ui requires ‘bundle org.eclipse.ajdt.ui 0.0.0′ but it could not be found
Cannot satisfy dependency:
From: SpringSource Tool Suite (required) (
To: com.springsource.sts.ide.ui []

03/02/11 @ 17:43
Comment from: Habib [Visitor]

that is right thing

26/04/11 @ 13:17
Comment from: Priyanka Sabnani [Visitor]
Priyanka Sabnani

Awesome… It was of great help to me… Thanks a ton… :)

29/04/11 @ 11:49
Comment from: sandeep [Visitor]

very nice article.Thank you.

12/07/11 @ 14:58
Comment from: freebird [Visitor]

Super Like.. :)

25/11/11 @ 04:47

Leave a comment

Your email address will not be revealed on this site.

Your URL will be displayed.
(For my next comment on this site)
(Allow users to contact me through a message form -- Your email will not be revealed!)