The structure of the parent project is as follows :

1、 Select parent project name , Then right-click , choice ”Maven“ -----> "New Maven Module Project".

2、 Here's the picture , tick ---> Enter project name ----> Next.

3、 Choose the type of packaging , Click on ”finish“.

4、 If it's a sub project, yes web engineering , Need to create "web.xml" file , The following structure :

web.xml The contents of the document are as follows :

 <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> </web-app>

5、 The structure of the new completed sub project and parent project is as follows :

maven More articles about adding child projects to the parent project of

  1. Add project dependency to project Xcode iOS

    Sometimes we need to add other subprojects to a main project , It is used to write and modify subprojects or to use library files in subprojects , At this time, we need to use the nesting of the project .   step :( Look at the picture )   1. New main project , be known as TestTTTT ...

  2. ARC To add non-standard data to a project ARC file

    Reprinted from :http://blog.csdn.net/zhenweicao/article/details/16988543 classification : IOS2013-11-27 17:02 626 Human reading   Comment on (0)  Collection ...

  3. MFC Start other projects in one project exe file

    explain : Sometimes we combine the two projects , But lazy don't want to add code to the project , So I came up with the idea , Only lazy ha ha ha Method : Create a new main program , Add buttons... To the main program interface , Add the following statement to the button's program code : void CMain ...

  4. C# The process of calling the child window in the parent window ( The released object cannot be accessed ) abnormal , There is no slave object type System.Windows.Forms.DateTimePicker Mapping to known managed provider native types .

    One :C# The process of calling the child window in the parent window ( The released object cannot be accessed ) abnormal Actually , This question is related to C# It's about garbage collection . Garbage collector tube Manage all managed objects , All data that need to be hosted .NET Language ( Include C#) All are controlled by the runtime Garbage collector ...

  5. ( turn )C# The process of calling the child window in the parent window ( The released object cannot be accessed )

    C# The process of calling the child window in the parent window : 1.  Create a child window object 2.  Show child window objects   In the author's procedure , Main form MainFrm Call sub window through menu ChildFrm. Child window objects are defined in the form , Then click the event in the menu item ...

  6. vue Communication between components and how to invoke subcomponents in parent components

    stay Vue Scopes between component instances in are isolated , The data of the parent component cannot be directly referenced on the child component , At the same time, the parent component cannot directly use the data of the child component One . The parent component makes use of props Transfer data to subcomponents Parent component : <div> < ...

  7. solve UIViewController Add on the sub controller viewWillAppear Don't call the problem

    Problem description : I am here UICollectionViewController Add an array of sub controllers , And in cellForItem The controller in the sub controller array corresponds to view Added to the UICollectionView ...

  8. React Hooks Subcomponent method is invoked in the parent component

    React Hooks Subcomponent method is invoked in the parent component Used hooks-- useImperativeHandle,useRef /* child Child components */ // https://reactjs.org ...

  9. vue Calling component function in parent component

    2019/06/06 Method of calling sub components in parent component :  1. Define a ref attribute .eg:ref="childItem"  2. In subcomponent methods Declare a function in .eg: u ...

Random recommendation

  1. javascript Self calling function Closure

    <script type="text/javascript"> var car = {name:"lhs",model:500}; window.o ...

  2. CF Gym 100685A Ariel

    Portal A. Ariel time limit per test 2 seconds memory limit per test 256 megabytes input standard input ...

  3. ASPNET5 The diagnosis

    1. Configure an error handling page stay ASP.NET5, Can be in Startup Of Configure Configure an error handling page in , For development , It's simple , Just add Microsoft.AspNet.Diagnostics ...

  4. Hadoop MapReduce Development best practices ( Part 1 )

    body{ font-family: "Microsoft YaHei UI","Microsoft YaHei",SimSun,"Segoe UI& ...

  5. Linux Series of tutorials ( 8、 ... and )——Linux Common command compression and decompression command

    In the previous blog, we explained Linux Help and user management commands , For help commands ,man Commands get help information about commands and configuration files ,help Command can be obtained shell Help for built-in commands . We can go through which To distinguish between shel ...

  6. STM32F105 PA9/OTG_FS_VBUS Issues

    https://www.cnblogs.com/shangdawei/p/3264724.html F105 DFU In mode PA9 Pins are used to detect USB Cable , If the level is 2.7~5v It is considered to be inserted usb equipment ( detected ...

  7. 13 The signal signal

    The signal Event notification sent to the process , Complete asynchronous communication Signal generation 1. Program error : Hardware exception , Divisor is 0, etc. 2. External events : Timer event , Key interrupt (ctrl+c) etc. 3. Display request : call kill,  raise Equal signal sending ...

  8. Java object-oriented -static keyword 、 Static method and common method 、 Static member variable

    Java object-oriented -static keyword . Static method and common method static The basic function of keywords : It is convenient to call without creating an object ( Method / Variable ). Obviously , By static Keyword decorated methods or variables do not need to depend on ...

  9. LeetCode 36—— Effective Sudoku

    1. subject 2. answer Put the number in Sudoku ASCII Code value converted to 0-8 As hash values , Create a hash table , Then line by line . Column by column . Chase the palace (3*3 A small piece ) Count the number of occurrences of each figure , If more than 1, Sudoku is invalid . ...

  10. Daniel teaches you how to go step by step , Effective learning JavaScript?

    The first thing to say is this , We are not experts now , One and a half barrels of water at most , I'm in JS The door of . There is no experience , It's all lessons . At this time, someone wants to say ,“ by , You're half a bucket of water , Why teach us ”. Don't rush to scold , Listen to me first ! You ask a college student to teach elementary school mathematics ...