Deploy a common Web project (FWGL service management) with IDEA to Tomcat
Start by importing FWGL from CVS into Eclipse
Then start to configure project Structure \project
The project Compiler output path can be optionally specified, usually in web-info \classes
Configure modules
Where path in the Department Descriptors is the project’s web. XML (note that it is not compiled XML, note that the contents of the file in Web. XML are correct. Results in an empty package.
The Web Resource Directory in the Web Resource Directories is the WebRoot root Directory for the project
Then check Source Root correctly. This is the Root directory of the Source file of the project. Generally, you do not need to check it yourself.
Configuration Libraries
It is important to ensure the integrity of the project package, as the package downloaded from CVS was incomplete, resulting in an error later in the package run.
Configure Facets, which are exactly the same as modules
Configuration Artifacts
Add a Web Application: Exploded or Archive, and select your own project.
Finally, configure Tomcat (Run/Debug Configurations) /Server
Configure Deployment
Start Tomcat after the Rebuild Project