首页 > 其他分享 >(摘抄)Defining Application Servers in IntelliJ IDEA

(摘抄)Defining Application Servers in IntelliJ IDEA

时间:2022-12-18 20:35:18浏览次数:76  
标签:IntelliJ settings IDEA 摘抄 server Application dialog click creating


 

This feature is supported in the Ultimate edition only.


To define a server in IntelliJ IDEA, in most of the cases, all you have to do is to specify where the corresponding server is installed.


You can define a server:

  • Separately, in the Settings dialog: Ctrl+Alt+S | Build, Execution, Deployment | Application Servers | , etc.
  • When creating a ​​project​​​ or ​​module​​.
  • When creating a server ​​run/debug configuration​​: Run | Edit Configurations |  | <Server Name>, etc.


In this section:


Defining a server in the Settings dialog

  1. ​Open the Settings dialog​​ (e.g. Ctrl+Alt+S).
  2. In the left-hand pane, in the Build, Execution, Deployment category, select Application Servers.
  3. On the Application Servers page that opens in the right-hand part of the dialog, click . (Alternatively, press Alt+Insert.)
  4. Select the server that you are going to use.
  5. In the dialog that opens, specify the server settings and click OK. For most of the servers, you have to specify just the server home, i.e. the server installation directory. For more information, see ​​Application Servers​​.
  6. Click OK in the Settings


Defining a server when creating a project or module

  1. Do one of the following:
  1. On the first page of the wizard, in the left-hand pane, select Java Enterprise.
  2. In the right-hand part of the page, to the right of the Application Server field, click New.
  3. Select the server that you are going to use.
  4. In the dialog that opens, specify the server settings and click OK. For most of the servers, you have to specify just the server home, i.e. the server installation directory.
  5. Specify other settings as necessary and click Next. For more information, see ​​Project Category and Options​​​ or ​​Module Category and Options​​.
  6. Specify the name and location settings and click Finish. For more information, see ​​Project Name and Location​​​ or ​​Module Name and Location​​.


Defining a server when creating a run/debug configuration

  1. Open the Run/Debug Configurations dialog (e.g. Run | Edit Configurations).
  2. Click  (Alt+Insert), select the server of interest (e.g. Tomcat Server) and, if available, select Local or Remote.
  3. In the right-hand part of the dialog, on the Server tab, click Configure to the right of the Application server
  4. In the dialog that opens specify the server settings and click OK.
  5. Specify other run/debug configuration settings as necessary and click OK.

 

标签:IntelliJ,settings,IDEA,摘抄,server,Application,dialog,click,creating
From: https://blog.51cto.com/u_15740686/5951107

相关文章

  • IDEA中Maven项目 子项目中缺少parent标签及无web框架问题解决
    Question在maven项目中,创建的子模块的pom中没有标签,但父模块中有,造成运行时提示版本源过低原因:maven的settings.xml中默认jdk版本过低解决方法:在maven中指定jdk版本,找到......
  • idea集成Git
    环境准备配置忽略文件目的:部分文件与项目的实际功能无关(如idea生成的一些文件),不参与服务器上部署运行,把它们忽略掉能够屏蔽IDE工具之间的差异。创建忽略规则文件xxx.i......
  • IDEA常用的快捷键(win版)
    IDEA常用的快捷键ctrl+shift+alt:多行操作psvm:生成main()方法;fori:生成for循环;Ctrl+Alt+v:自动补齐返回值类型ctrl+o:覆写方法ctrl+i:实现接口中的方法ctrl+shift+u:大小写转换CT......
  • IDEA多端口启动项目
    IDEA多端口启动项目步骤:点击Run/DebugConfigurations(运行键左边)选择项目配置拷贝项目配置在新的项目配置中的Programarguments添加启动端口配置:--server.p......
  • IntelliJ IDEA
    IntelliJIDEA下载1.1.进入网址https://www.jetbrains.com/2.2.页面滑动到底,点击Allproducts选项2.3.点击IntelliJIDEA选项2.4.点击Download选项2.5.......
  • SSM整合环境搭建+Maven+IDEA
    优先推荐这个案例,真的超级详细,自己跟着一步一步做就可以了这篇案例做的也不错,可以看看。......
  • meta-analysis初学--笔记摘抄
    meta-analysis的定义Meta-analysis是指对研究的研究,可以翻译为元分析、后设分析、整合分析、荟萃分析等。最常用的翻译是荟萃分析。Meta-analysis是用统计的概念与方法......
  • IDEA无法解析 jsp 中方法(如 getParameter() )
    问题描述:我在用jsp写一个小项目时,代码中很多与jsp的命令都标红,鼠标放上去显示:无法解析方法“getParameter(java.lang.String)”,而且写代码的时候也不会有命令提示。......
  • IDEA没有新建jsp文件按钮
    问题描述:在学习jsp的过程中,使用IDEA软件新建web文件,右击新建jsp时,没有找到jsp文件。可能是没有添加web路径,该如何解决呢?解决方案:1.点击右上角file,选......
  • IDEA中 maven webapp项目和springboot项目 配置热加载(热交换)1.4Tomcat部署时war和war
    目录​​1、提前说明​​​​1.1、idea汉化​​​​1.2idea的项目类型说明​​​​1.3ideawebapp配置tomcat并启动 ​​​​1.4Tomcat部署时war和warexploded区别​​......