Itellij Idea development tool use-Create a Web project

Source: Internet
Author: User

Turn http://blog.csdn.net/wangyang1354/article/details/50452806

Recently want to use the idea editor development, but usually with myeclipse and eclipse habits, suddenly with idea everywhere feel like a wall. After constant groping, finally Kujinganlai, learned how the basic Web program was created and run. During the online search for a lot of information, most of the same, and I encountered the problem is very far away, so decided to write this article to help other people with similar experience.

Note: I am using the IDEA14.0 version

The concept needs to be clear that the project in Idea (project) is a different concept from projects in Eclipse, and Idea Project is the equivalent of the previous Eclipse workspace, Idea's module is an Eclipse-equivalent project (project). This place will be very faint when it is first used. Create Web project graphics 1. In the Create workspace (project) selection file, new project appears with the following interface:

2. Create a project

Select the new module in file to create the project, select the item point labeled in the diagram next proceed to the next step

Clicking Finish will automatically create an item named WebTest, the directory structure:

Double-click Open index.jsp file for appropriate modification.

The next task is to deploy the project to the Tomcat server

There is a drop-down box above the right side of the interface, where the drop-down will find an edit configuration option


Open the following interface appears


Under Default there is a tomcatserver for the basic configuration of Tomcat


Then go back to the top of the popup box and deploy the project

Server Partial configuration Complete

This has been successful.

Here's one more question to add.

Here I was successful, but in the previous use of the time always encountered a problem, automatically pop up this access page has been 404 Not Found, I encountered this problem because I have multiple projects deployed to a tomcat, resulting in 8080 ports occupied, the console reported the exception information

Tomcat exception Socket bind failed: [730048]

But I only saw the final deployment complete information, did not see the above exception prompt, so once stuck here.

How can we solve this problem?


Input Netstat-ano | findstr 8080; viewing occupied ports 8080


Enter taskkill/f/pid occupation process; Shut down occupation process


And then run it again.

Add one point:

Multiple projects can be deployed in the following ways.


Itellij Idea development tool use-Create a 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.