Experience summary of establishing SPRINGMVC project and commissioning using IntelliJ

Source: Internet
Author: User
Tags tomcat

First of all, I used Vs2008,vs2010,ecplise,myecplise,netbeanse and other Ides, have to admire vs2008,2010, although the IDE is huge, but IntelliJ idea code hints and other functions also let me marvel. Everyone has their own hobbies, as for the other Ides personally, it is not very suitable for me.

After a new SPRINGMVC project is created, the associated Jar library is automatically downloaded---although the next 5 minutes +, I thought the missing library to do their own download it.

Second:

How to add servers and debug in idea.

I use idea as an example:

Click

Run-----"Edit configureation

See:

The interface of the run and Debug configuration.

See the Green plus icon in the upper-left corner does not.

Click, the list of server types appears on the left, select

Tomcat

Then you will have local (local) and remote (remotely) two options, select Local, click the configuration button behind AppServer and choose the path of your Tomcat installation.

Also, if your tomcat is using port 8080, then the port is already occupied, please

Start page and HTTP port inside modify the relevant port, for example: 8087,

Then all two changed to 8087.

--

As to the establishment of the Spring MVC project, I have not been able to establish a class, I am doomed to use the original method of development. I hear spring mvc3.2 is missing spring context support by default, but this is still a problem later.

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.