Eclipse 4.2 (Juno) 'Cannot create a server using the selected type' in Tomcat 7

前端 未结 8 1230
鱼传尺愫
鱼传尺愫 2020-12-22 16:36

I have installed:

  • eclipse juno
  • java-6-openjdk-i386 (selected as default JRE in Eclipse)
  • java-7-openjdk-i386

When I try to add

8条回答
  •  盖世英雄少女心
    2020-12-22 16:47

    This is a known issue that can happens, to resolve this error, try one or all of the following:

    Go to

    Window–>Preferences–>Server–>Runtime Environments

    and fix the broken path/link for the server.

    Or 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

    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.

提交回复
热议问题