idea next web project to compile and output settings

The company's project, others use the eclipse, I am here with IDEA, there is some question on the path, and now probably some idea, recorded.

  • After opening the project structure, see the following settings, most importantly, Modules and Artifacts settings.

  • In Eclipse Project, corresponds to the IDEA Module. The main setting the compiler output path in the src Modules option, we set it to \ web \ classes file in the WEB-INF folder inside path. After re-build the project, the classes folder which you can see bytecode files.

  • Artifacts setting items in the output path, you can set it as a web directory. This directory is a web directory or MyEclipse WebRoot eclipse project directory.

  • Corresponding to the tomcat deployment path can be set to Artifacts in the web, you can fill in your own application context path.

Guess you like

Origin www.cnblogs.com/qianbixin/p/10992660.html