Home >Java >javaTutorial >Steps to create a javaWeb project using IntelliJ IDEA on mac

Steps to create a javaWeb project using IntelliJ IDEA on mac

PHPz
PHPzOriginal
2017-04-04 11:14:254582browse

Use IntelliJ IDEA to create a javaWeb project. In this article, I will divide it into two parts to summarize. They are: "Configure the local server (Tomact) in the IntelliJ IDEA development tool" and "IntelliJ IDEA creates a javaWeb project. Steps

1. IntelliJ IDEA creates a javaWeb project. Steps

1. Create a project , then click on the corresponding Project SDK, and keep clicking Next until the second step appears.

Steps to create a javaWeb project using IntelliJ IDEA on mac

##2. You can modify it here to what you want to store. folder.

Steps to create a javaWeb project using IntelliJ IDEA on mac


3. Click Add Framework Support

Steps to create a javaWeb project using IntelliJ IDEA on mac

##4. Check Web Application and click ok

Steps to create a javaWeb project using IntelliJ IDEA on mac

- ----------If you want the project to have a better hierarchical structure or make subsequent expansion operations more convenient, you can continue, otherwise you can omit it---------------- ------

5. Follow the following operations to create

class<a href="http://www.php.cn/wiki/164.html" target="_blank">es</a> and <a href="http://www.php.cn/wiki/164.html" target="_blank">lib</a> respectively. Two folders, classes is used to store the compiled output class files, and lib is used to store third-party jar packages.
##6. Configure the path where the corresponding file is placed

Steps to create a javaWeb project using IntelliJ IDEA on mac


Steps to create a javaWeb project using IntelliJ IDEA on mac


Steps to create a javaWeb project using IntelliJ IDEA on mac


Steps to create a javaWeb project using IntelliJ IDEA on mac


Steps to create a javaWeb project using IntelliJ IDEA on mac


#7. Then just click OK all the way. It’s a simple project here. The creation work is complete.

2. Configure the local server (Tomact) in the IntelliJ IDEA development toolSteps to create a javaWeb project using IntelliJ IDEA on mac
1. Click Edit Configuration


2. Add Tomcat path

Steps to create a javaWeb project using IntelliJ IDEA on mac


Steps to create a javaWeb project using IntelliJ IDEA on mac##Snip20170328_23.png


Steps to create a javaWeb project using IntelliJ IDEA on mac

Steps to create a javaWeb project using IntelliJ IDEA on mac


Steps to create a javaWeb project using IntelliJ IDEA on mac

3. Just write something and run it.


#4. Running normally

Steps to create a javaWeb project using IntelliJ IDEA on mac

#

The above is the detailed content of Steps to create a javaWeb project using IntelliJ IDEA on mac. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn