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.