Artifacts: A concept in Maven that shows how a project/modules packaged, such as Jar,war,war Exploded,ear, A project or module has a artifacts can be deployed to the Web application Server ~ is not very interesting ~ haha ~
Click on the project name, press F4 or right-click to select Open Module settings, pop-up box select artifacts, point Center + number Configuration
Describe the output directory, where the packaged application outputs.
Fill in one: we know that if you want to deploy an app on Tomcat the simplest way is to put the application files directly in the Tomcat folder under the WebApps folder, so it is recommended to choose the WebApps directory under Tomcat, create a new folder, The name is the address entered in the browser address bar, such as my mylibrary, enter the http://www.mylibrary.com test
Way two: Of course, some people will suggest you put in the default directory, and so on application development and then copy and paste into the WebApps directory, the advantage is that can be arbitrarily changed before deployment, debugging will not affect the official release of the file.
Picking Bar ~
Last tick on show content of Elements,ok, done.