Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with Eclipse and Tomcat

 
Ankit Doshi
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Today morning, I completed installing Eclipse and configuring Lomboz to work with Eclipse after a lot of tries.

I also installed tomcat on my machine; and have added and checked this server on the servers list under Windows > Preferences.

Now in the new project wizard (Dynamic Web Project), the "Target Server" list comes as blank. Whatever I do, the tomcat doesn't appear in the list of Target Servers. Consequently, it's not activating the Next/Finish buttons and hence I am not able to create a new project at all.

Can someone please help me resolve this?


Thanks,
Ankit
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've never used this feature, but is your Tomcat server up and running while you do this?
 
Ankit Doshi
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope, Tomcat was not running when I was doing this.

Now I tried with that option as well - started tomcat, and then launched eclipse and tried starting a new project, that also did not help.

I don't think tomcat should be kept runnig while starting a new project ... but anyway that option is not working as well ...

Not sure which feature are you referring to? I'm just trying to create a new Dynamic web project.
 
Ramesh Kumar
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

If u are intended to use Tomcat with Eclipse, Then the best way i am following for the long time is

1) Downloading Tomcat Plugin from
http://www.sysdeo.com/eclipse/tomcatplugin

2) After downloading and after extracting u place required file into plugin as well as features folders.

3) After the restart Eclipse once.

5) U see Tomcat Icons.

6) Before clicking on them go to preferences--> Change properties related to Tomcat plugin

7) Then u can start or Stop Tomcat

Note: By using this pluin u r referring Tomcat Existing outside (Which is already installed)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic