Eclipse 3.7 (Indigo) + Tomcat7 — Cannot create a server using the selected type

前端 未结 10 1779
暗喜
暗喜 2020-12-04 14:19

Setup:

  • Eclipse 3.7 + the WEB tools from the indigo update site
  • Tomcat7
  • Ubuntu

Problem:

When I try to add a new Tomcat

10条回答
  •  既然无缘
    2020-12-04 14:30

    I had two tomcat 7 runtime configurations added to my Server's Runtime configurations tab. Deleted the duplicate one and fixed the path to the only tomcat 7 which was installed in my system under C:\Program Files\Apache Software Foundation\Tomcat 7.0 and this solved my problem of adding a new server in the servers tab.

    1. Go to Window > Preferences > Server > Runtime Environments and update the server runtime environment path to change the broken path for the server by clicking Edit.

提交回复
热议问题