IntelliJ Idea Tool use-create Web project

Source: Internet
Author: User

I'm just a porter of knowledge.

System environment: MAC Pro OS 10.11.5

Development environment: Java, IntelliJ idea, Tomcat, MYSQL

(yes, I gave up MongoDB, fell!) Do not know how to connect the database, I heard to use Maven, one to learn too much, time tight task heavy, I still return to familiar environment, ah, IntelliJ idea not familiar?? )

Everything is in the know.

This article is divided into three parts:

1. Create a Web project

2. Connect to the Tomcat server

3, MySQL installation (there is a big pit, almost killed)

Create a Web project

1, file-->new a project or module, the new project will occupy a window alone, new module, it is in this window new, familiar with the Android studio students should be familiar with.

2, select the Web application, the bottom three is the use of the framework, if the use of the framework, click on the check box.

3, fill in the project name, click Finish, a project has been built.

4, however, this is not the end, and some things need to be set.

Web-inf folder, create a new two folder classes and Lib, which is used to store the compiled files, which is used to store the jar package.

Then File-->project structure--> Select Modules, the following interface appears.

Select the second card to set the file directory. Such as:

Select the third card, set the storage location of the jar package, and select the new Lib folder you just created. Such as:

IntelliJ Idea Tool use-create Web project

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.