`

(摘抄)Defining Application Servers in IntelliJ IDEA

阅读更多

转自:https://www.jetbrains.com/help/idea/defining-application-servers-in-intellij-idea.html

 

 

 

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 | /help/img/idea/2017.2/new.png, etc.
  • When creating a project or module.
  • When creating a server run/debug configuration: Run | Edit Configurations | /help/img/idea/2017.2/new.png | <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 /help/img/idea/2017.2/new.png. (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 dialog.

Defining a server when creating a project or module

  1. Do one of the following:
    • If you are going to create a new project: click Create New Project on the Welcome screen or select File | New | Project.

      As a result, the New Project wizard opens.

    • If you are going to add a module to an existing project: open the project you want to add a module to, and select File | New | Module.

      As a result, the New Module wizard opens.

  2. On the first page of the wizard, in the left-hand pane, select Java Enterprise.
  3. In the right-hand part of the page, to the right of the Application Server field, click New.
  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.
  6. Specify other settings as necessary and click Next. For more information, see Project Category and Options or Module Category and Options.
  7. 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 /help/img/idea/2017.2/new.png (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 list.
  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.

 

分享到:
评论

相关推荐

    Defining Load-Balancing Policy in Static Cluster

    Defining Load-Balancing Policy in Static Cluster

    Android Application Security Essentials

    Chapter 4: Defining the Application's Policy File 61 The AndroidManifest.xml file 61 Application policy use cases 66 Declaring application permissions 66 Declaring permissions for external ...

    defining decade

    the defining decade!

    CS193P IOS APPLICATION DEVELOPMENT Assignment 1 Walkthrough.pdf

    The detailed walkthrough provided in the assignment document guides students through each step of creating a new project in Xcode, defining the MVC components, and using Interface Builder to design ...

    JProfiler Helper

    - Detailed instructions for integrating JProfiler with popular IDEs like IntelliJ IDEA, Eclipse, NetBeans, and others. - Customizing IDE-specific settings to improve profiling workflows. - Leveraging ...

    The Defining Decade Why Your Twenties Matter

    根据提供的文件信息,本文将围绕《The Defining Decade Why Your Twenties Matter》这一书籍的主要内容进行阐述。本书探讨了人生二十余岁时的重要性,并通过临床心理学家的观点来解析这一阶段对于个体成长的意义。 ...

    Agile.Application.Lifecycle.Management.Using.DevOps.epub

    Agile Application Lifecycle Management offers practical advice and strategies for implementing Agile ALM in your complex environment. Leading experts Bob Aiello and Leslie Sachs show how to fully ...

    Authorization in ASP.Net MVC using XML Configuration.

    I have created simple application to demonstrate how you can xml based configuration to apply authorization in MVC application. Following are four major pieces of the application. ...

    The defining decade

    《The Defining Decade》是一本由某位临床心理学家撰写的书籍,主要讲述的是作者在个人执业以及作为临床教授和讲师的工作经历。通过与二十几岁的年轻客户的互动,作者希望传达二十几岁这个年龄段的重要性以及如何...

    XDoclet in Action

    - **Application Server Overview**: An explanation of the role of application servers in Java development. - **XDoclet for Deployment**: Techniques for generating deployment descriptors and server-...

    grpc-common-master.zip_Grpc-c_go-common-master_grpc_grpc client_

    As in many RPC systems, gRPC is based around the idea of defining a service, specifying the methods that can be called remotely with their parameters and return types. On the server side, the server ...

    KDE Application Tutorials

    KDE Application Tutorials &lt;br&gt;1. Introduction 1.1. What you should know already 2. Getting Started 3. Building the Qt Tutorials 3.1. Step One: Hello World! 3.1.1. What to change ...

    PHP.7.Real.World.Application.Development

    Chapter 14: Defining PSR-7 Classes Module 2: Learning PHP 7 High Performance Chapter 1: Setting Up the Environment Chapter 2: New Features in PHP 7 Chapter 3: Improving PHP 7 Application Performance ...

    Designing A Common Sense Approach to Web & Mobile Application Design

    Chapter 1: Defining the Obvious 3 What Is ‘the Obvious’? 6 Qualities of a great application 8 How Do You Design the Obvious? 10 Turn qualities into goals 10 The Framework for Obvious Design 12...

    TU0106 Defining & running Circuit Simulation analyses.pdf

    ### TU0106 Defining & Running Circuit Simulation Analyses #### 概述 在电子设计自动化(EDA)领域,电路仿真是一项重要的技能。通过电路仿真,工程师能够在实际制造硬件之前评估电路的行为,这对于减少设计...

    Manning.Spring.in.Action.4th.Edition.2014.11.epub

    Praise for the Third Edition of Spring in Action Preface Acknowledgments About this Book 1. Core Spring Chapter 1. Springing into action 1.1. Simplifying Java development 1.1.1. Unleashing the power ...

Global site tag (gtag.js) - Google Analytics