`

Cannot create a server using the selected type

阅读更多

Cannot create a server using the selected type 

 

在eclipse中安装tomcat服务器,报错" Cannot create a server using the selected type ".

原因:以前安装的tomcat目录改变

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

 

还有另一种方式:
在当前工作区中如下路径:/.metadata/.plugins/org.eclipse.core.runtime/.settings,记住不是eclispe程序的路径。

把其下org.eclipse.wst.server.core.prefs和 org.eclipse.jst.server.tomcat.core.prefs这两个文件去掉

后重启eclipse即可。

个人认为第一种方式比较方便,操作起来比较直观。
其实出现这一问题的原因也很简单,就是原来服务路径已经指定,由于原tomcat出错或其它原因时不能再次指定服务器路径而已,第一种方式就是在IDE环境中重新指定,第二种则是把存储路径的文件删掉,再重新指定路径时就不会报错,IDE环境中重建此文件。归根结底其目的是相同的。

 

本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/arthurzil/archive/2010/09/25/5904325.aspx

分享到:
评论

相关推荐

    解决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 ...

    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 ...

    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 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 , ...

    Unreal Engine 4.X By Example

    To create a basic actor, you can use the "Add New Actor" button in the toolbar or right-click in the viewport and select "Add Actor." Actors can be customized using the Details panel. ##### Objects,...

    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 ...

    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