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

前端 未结 10 1787
暗喜
暗喜 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

    A different resolution of the same problem that worked for me. I share it here it might be helpful for someone.

    I have - Eclipse Juno - Tomcat 7 - Windows 7

    This is what I did

    Eclipse > Window > Preferences > Installed JREs and I've got jre7 added and selected here. So I added jre6 by pressing Add button(If not installed or you ran a java update, just download and install jre6). And select jre6 instead of jre7.

    Now go to Eclipse > Window > Preferences > Server > Runtime Environment > Press Add and add Tomcat 7.

    You're done now.

提交回复
热议问题