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.
##2. You can modify it here to what you want to store. folder.
3. Click Add Framework Support
##4. Check Web Application and click ok
- ----------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
#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 tool
1. Click Edit Configuration
2. Add Tomcat path
##Snip20170328_23.png
3. Just write something and run it.
#4. Running normally
#
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