I was trying to add Tomcat 7 in my Eclipse in Ubuntu. When I click “Add new server” in Eclipse and select “Tomcat v7.0 Server”, the field “Server Name” is blank and I cannot type in anything in that textbox as shown below:

(转)Eclipse New Server 【无法输入server name】

What I did before is I deleted a Tomcat 7 server from Eclipse and I was trying to reinstall Tomcat 7. But it doesn’t allow me to type anything in that textbox and I cannot proceed to the “Next” button. My environment is Ubuntu Linux and Eclipse for JavaEE.

Here is the workaround that worked for me:

  1. Close Eclipse
  2. In {workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settingsdelete
    the following two files:

     

    • org.eclipse.wst.server.core.prefs
    • org.eclipse.jst.server.tomcat.core.prefs
  3. Restart Eclipse

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2022-02-20
  • 2021-05-19
  • 2022-12-23
  • 2021-11-07
猜你喜欢
  • 2021-10-12
  • 2021-05-23
  • 2021-10-30
  • 2022-12-23
  • 2021-11-16
  • 2021-10-18
相关资源
相似解决方案