Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat+eclipse problem

 
Giuseppe Scalese
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I have installed ecplise ganymede with tomcat as application server and jdk5. But, If i try to add a "runtime environment" from the 'preferences' both tomcat 5.5 and 6.0 doesn't works.
If i try to set the first one this message is shown : "The Tomcat installation directory is not valid. It is missing expected file or folder common/i18n"

If i try to set the second one this message is shown : "The Tomcat installation directory is not valid. It is missing expected file or folder lib/jasper-el.jar"

I have tried also to use the 'Sysdeo Eclipse Tomcat Launcher plugin' but it doesn't works anyway.


Is there anyone who could help me?

thank you!

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64711
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"beppe", please check your private messages for an important administrative matter.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I checked my Tomcat 5.5 and 6.0 installation directories, and sure enough the file/directory mentioned is present. Therefore, I have to ask, how did you install Tomcat? What operation system are you running?

My first thought is that you might be running Linux and used a package manage to install Tomcat and the resulting directory structure might be different that what Eclipse expects (I would check on my copy of Kubuntu to see if this is the case but I never use the package manager to install any Java-related packages). The solution would be to download Tomcat form the Apache web site and install it manually.

If none of this helps, do a "dir" or "ls -al" on the Tomcat home directories and post those.
 
Abhik Ghosh
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.. I just found a soln to the problem... within the folder apache-tomcat-6.0.20 there is another apache-tomcat-6.0.20.so point your root dir to the second folder , in my case it is E:\apache-tomcat-6.0.20\apache-tomcat-6.0.20... and the problem is solved.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic