This article is an integrated article on how to create a web project with IDEA and configure Tomcat. It is not original. The original link The first step is to create a normal Java project The second step is to create a web project. Right click the project name–>Add Frameworks Support Check Web Application and click OK Then create two folders in the web/WEB_INF directory: classes and lib Then configure the folder path; shortcut keys ctrl + shift + Alt + s -> Modules-> Paths -> select "Use module compile out path" -> set both Outputpath and Test output path to the classes folder Click Dependencies -> the + sign on the right -> 1 JARS or directories Select the lib folder you just created, OK Select Jar Directory, click OK, then save and exit Configure Tomcat Run -> Edit Configurations Click ±->Tomcat Server->Local Click Configure Select your Tomcat path in Tomcat Home, ok At this time, you can see a warning Warning: No artifacts marked for deployment below. Click Fix on the right and then jump to the Deployment panel. Go back to the server panel, change On 'update' action and On frame deactivation to update classes and resources, save and exit Test <br /> Write HelloWorld in index.jsp and run the project Configuration successful This is the end of this article about the detailed tutorial on how to configure Tomcat in IDEA2020.1.2 to create a web project. For more information about configuring Tomcat in IDEA2020, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: How to optimize MySQL index function based on Explain keyword
>>: How to define data examples in Vue
First, setInterval is encapsulated as a Hook 👇 im...
After a long period of transplantation and inform...
Scenario You need to use the xshell tool to conne...
one. Overview of IE8 Compatibility View <br /&...
Table of contents 1. Count data is lost Solution ...
Only show the top border <table frame=above>...
1. Location regular expression Let's take a l...
This article uses an example to describe the simp...
For evenly distributed layouts, we generally use ...
This article example shares the specific code for...
Table of contents Object Object Definition Iterat...
A colleague asked for help: the login to the back...
Preface Swap is a special file (or partition) loc...
MySQL paging analysis principle and efficiency im...
Table of contents Why do we need garbage collecti...