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

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

    This is a known issue.To resolve this error, try one or all of the following:

    1. Go to Window–>Preferences–>Server–>Runtime Environments and fix the broken path/link for the server.
    2. Rename the org.eclipse.jst.server.tomcat.core.prefs to org.eclipse.jst.server.tomcat.core.prefs.bak (or you can delete this file). This file can be found at \workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings
    3. Rename the org.eclipse.wst.server.core.prefs to org.eclipse.wst.server.core.prefs.bak (or delete the file). This file also can be found at the same location as above.

提交回复
热议问题