1

i was doing a web service using jersey framework and i was following this example. I installed tomcat and and also tomcat plug in into the eclipse. But while i tried to run the project by right click on the project and go to run as-->run on server, then i didn't get "next" or "finish" button active as you can see in the image below. Also when i am trying to enter servername, then it is not taking any key type. So any idea why this is happening ? If any more details you need guys please let me know. Thanks in advance. enter image description here

Android Killer
  • 18,174
  • 13
  • 67
  • 90
  • you forgot the image :p – emgsilva Aug 19 '13 at 07:22
  • @emgsilva sorry added.. – Android Killer Aug 19 '13 at 07:23
  • 1
    so you need to add a server name and the 'Next' button will be activated – Scary Wombat Aug 19 '13 at 07:24
  • Yes... server name (then have the Tomcat distro to point to) should allow you to set your tomcat up in Eclipse. – emgsilva Aug 19 '13 at 07:25
  • @user2310289 u r right, but i already tried entering server name, it's not taking any name. I mean while i m typing the name nothing is getting inputted in that text box. – Android Killer Aug 19 '13 at 07:25
  • Try to configure "Runtime environments" (define where the Tomcat is in your system - Preferences / Server / Runtime Environments) before doing this (add new Server)... but normally you should have a link from this window to do that... what version of Eclipse are you using? – emgsilva Aug 19 '13 at 07:32
  • @emgsilva i am using eclipse juno.. – Android Killer Aug 19 '13 at 07:35
  • did you try to setup the "runtime environment", and also as suggested in the answer bellow review the "dynamic web module"? – emgsilva Aug 19 '13 at 07:49
  • @emgsilva i will try and let u know. thanks – Android Killer Aug 19 '13 at 07:52
  • @emgsilva tried but no help... :( – Android Killer Aug 19 '13 at 10:16
  • this looks like a problem defining the "runtime environment" of you Tomcat... In principle this should be possible and easy to set in your project, right-click: "Preferences / Server / Runtime Environments"... but it seems that some people do have "similar" problems see this: http://stackoverflow.com/questions/13423593/eclipse-4-2-juno-cannot-create-a-server-using-the-selected-type-in-tomcat-7... I never had such problems, but maybe it helps, cannot see what is going wrong. – emgsilva Aug 19 '13 at 10:30

1 Answers1

0

Your Dynamic Web Module version might be problem. You downgrade your project module to 2.5 and try.

enter image description here

Prabhakaran Ramaswamy
  • 25,706
  • 10
  • 57
  • 64