`

Cannot create a server using the selected type

阅读更多

以前java web开发基本都是用myeclipse,而且实习这半年基本没有写过web程序了,最近决定抽业余时间,“重返正途”。

呵呵,言归正传

 

问题描述:在eclipse中创建server时,当选择"Tomcat v6.0 Server"就会出错,不允许我创建,如下图:


 

原因:我在整理电脑的时候,把原来配置的tomcat的路径给移动,所以eclipse不能找到,也不能重新创建

 

解决方法:Window->preferences->Server->Runtime Environment,改变tomcat的目录为你安装的目录,然后保存,这样就可以建立Tomcat server了,如下图:

 


 

如上图所示,把tomcat的位置修改为你的目前的目录就OK了。

 

 

  • 大小: 36.4 KB
  • 大小: 42.3 KB
分享到:
评论
3 楼 weiyangzhizhu 2015-04-27  
确实是这个问题导致的,顶一个
2 楼 nethub2 2013-07-09  
有用。
哈哈
1 楼 tidddd 2013-02-03  

相关推荐

    解决Eclipse配置Tomcat出现Cannot create a server using the selected type错误

    主要介绍了解决Eclipse配置Tomcat出现Cannot create a server using the selected type错误的相关资料,需要的朋友可以参考下

    VclZip pro v3.10.1

    This is helpful if you are using VCLZip as a service or on a webserver for instance. ******** Upgrading existing applications that use VCLZip 2.X ********** For the most part, existing applications...

    Delphi7.1 Update

    When using a TimeStamp type parameter with a TClientDataSet an error occurs when the parameter is passed to the server (Quality Central 6372). * Setting MTSDataModule.AutoComplete to False in the IDE ...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - FIX: After deleting the selected points in the TFlexPanel.DeleteSelectedPoints the all figures with one point also deleted. - FIX: When the curve contain more then one figure and they were all ...

    VB编程资源大全(英文源码 网络)

    It also shows the users of each Server or Workstation and can send messages to the selected PC. This programs works only on a Windows NT 4.0 Machine!<END><br>3 , projectgroupx.zip You may use this...

    OutlookAttachView v2.73

    o In the 'Copy Selected Files To...' window, you can now specify a subfolder in the attach filename format. For example, if the filename format is %folder_name%\%subject%_%attach_name%.%extension% ...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助

    Q438267 - Server Mode - Clicking a Filter Row cell in a column containing Null values throws the "Could not convert variant of type (Null) into type (OleStr)" exception Q435475 - Tabular and Layout ...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助-Part1

    Q438267 - Server Mode - Clicking a Filter Row cell in a column containing Null values throws the "Could not convert variant of type (Null) into type (OleStr)" exception Q435475 - Tabular and Layout ...

    DevExpress VCL 2012 vol 1.6源码、例子、帮助-Part2

    Q438267 - Server Mode - Clicking a Filter Row cell in a column containing Null values throws the "Could not convert variant of type (Null) into type (OleStr)" exception Q435475 - Tabular and Layout ...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助-part2

    Q438267 - Server Mode - Clicking a Filter Row cell in a column containing Null values throws the "Could not convert variant of type (Null) into type (OleStr)" exception Q435475 - Tabular and Layout ...

    DevExpress VCL 2012 vol 1.6源码、例子、帮助-Part1

    Q438267 - Server Mode - Clicking a Filter Row cell in a column containing Null values throws the "Could not convert variant of type (Null) into type (OleStr)" exception Q435475 - Tabular and Layout ...

    VB编程资源大全(英文源码 表单)

    selected shapes.<END><br>20 , splash.zip This demonstrates how to create a splash form for your program.<END><br>21 , menustat.zip This shows how to display information about the menu item in a ...

    word自动转化为chm

    Word-2-CHM will fill the “Output CHM File” field and the “Title of CHM File” field automatically after you have selected a Word file. Next, you may want to enter your copyright message that will ...

    DevExpress VCL v2012 vol 1.6源码-例子-帮助-part2

    Q438267 - Server Mode - Clicking a Filter Row cell in a column containing Null values throws the "Could not convert variant of type (Null) into type (OleStr)" exception Q435475 - Tabular and Layout ...

    DevExpress VCL v2012 vol 1.6源码-例子-帮助-part1

    Q438267 - Server Mode - Clicking a Filter Row cell in a column containing Null values throws the "Could not convert variant of type (Null) into type (OleStr)" exception Q435475 - Tabular and Layout ...

    VB编程资源大全(英文源码 控制)

    list_index.zip This example tells you if the inputted List Index is selected or not.<END><br>12 , fade.zip This is a bas to fade a pictuerbox. Can be used to make a progressbar<END><br>13 , ...

    Turbo C++ 3.0[DISK]

    be given instructions in a box at the bottom of the screen for each prompt. For example, if you will be installing from drive A:, type: A: INSTALL - This INSTALL handles the installation of ...

    Turbo C++ 3.00[DISK]

    be given instructions in a box at the bottom of the screen for each prompt. For example, if you will be installing from drive A:, type: A: INSTALL - This INSTALL handles the installation of ...

    vmware workstation 11 unlock

    | If you create a new VM using version 11 hardware VMware will stop and | | create a core dump.There are two options to work around this issue: | | | | 1. Change the VM to be HW ...

    C# Game Programming Cookbook for Unity 3D - 2014

    1.1.3 Using the Singleton Pattern in Unity...........................5 1.1.4 Inheritance.................................................6 1.1.5 Where to Now?.............................................

Global site tag (gtag.js) - Google Analytics