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

前端 未结 10 1799
暗喜
暗喜 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:35

    If you have installed Tomcat 7 with apt-get in a Debian/Ubuntu system, the cleanest solution to this problem is to assign the user under which Eclipse is running to the tomcat7 group.

    If for example that user's username is pippo then you just need to run:

    sudo adduser pippo tomcat7
    

    Note: you need to log out and log back in for the changes to take effect.

提交回复
热议问题