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

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

    The error occurs due to the server running in some other Java(TM) Platform.

    1. Start Task manager->Processes->Select Java(TM)
    2. Click "End Processes".

    After finishing this procedure you can add the server without any error.

    0 讨论(0)
  • 2020-12-04 14:44

    Another way is to remove the Servers directory if was already created. That worked for me.

    0 讨论(0)
  • 2020-12-04 14:47

    I removed the files mentioned above...still no luck. On a whim, I decided to download and install NetBeans. I was up and running with Postgres DB and Apache server running, etc. in just a few minutes! No extra downloads, etc.

    Anyway, switching to Netbeans is what worked for me. Goodbye Eclipse.

    0 讨论(0)
  • 2020-12-04 14:49

    Neither of the above solutions worked for me. Neither of the files listed exist in that location or anywhere else on my machine. I tried backing up all the files in the .settings folder and restarting Eclipse, but still got the same error.

    The only thing that worked was to reinstall Tomcat.

    0 讨论(0)
提交回复
热议问题