In the past, the project used Eclipse or MyEclipse as a development tool for development. After using IDEA for a few days, I found out how to have such an intelligent development tool. I regret not having found it earlier.

1. Download IDEA first

Link: https://pan.baidu.com/s/1t6fXxmcyC2fZvHhj7xuTlw

2. Install

2.1 Locate the. Exe file in the bin directory based on the decompressed files

    

Choose the appropriate startup file according to your actual system, mine is idea64.exe

2.2 After clicking idea64.exe, the program still did not start. Later, it was verified that idea64.exe.vmoptions needed to be modified as follows:

-Xms256m 

-Xmx750m 

-XX:MaxPermSize=700m 

-XX:ReservedCodeCacheSize=450m 

-ea 

-Dsun.io.useCanonCaches=false 

-Djava.net.preferIPv4Stack=true 

-Djsse.enableSNIExtension=false 

-XX:+UseConcMarkSweepGC 

-XX:SoftRefLRUPolicyMSPerMB=100 

Here are the addresses that need to be added to use IDEA for free for a long time

– javaagent: D: \ ideaTools \ JetbrainsCrack – 2.8 – release – enc. Jar

2.3 Idea can be started. You can change the expiration date to 2099 by following the steps in the download file.

3. After idea is installed, you can set some common shortcut keys and styles, and then install Tomcat

  • Specific installation steps: https://www.jianshu.com/p/0f6a513e20c8
  • The idea change style and theme: https://jingyan.baidu.com/article/915fc41488f2a051384b206c.html
  • The idea of setting up the eclipse habits: https://blog.csdn.net/scdncby/article/details/80604960
  • Idea to configure tomcat for details: http://www.cnblogs.com/Miracle-Maker/articles/6476687.html


The basic idea configuration of Tomcat is complete, but in the actual installation process, there is an exception that the class cannot be found when Tomcat is started after the JAR package is installed. This is because there is a problem in the jar package installation process and there is no fix. Specific path:

File –> Project structure –> Modules — green + in the center –> on the right — select Module SDK –> On the right — select jars There will be a lot of directories that need to be met. Click on the “Apply” button and then click on the “OK” button. There will be a lot of directories that need to be met, click on the “fix” button.





In the last picture, there is no problem, so the problem is empty. If there is a problem, a digital corner will appear at the lower right corner of the problem. If you click fix, the idea will be processed automatically.