현상

Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.5:war (default-war) on project melon-movingimage-app: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [Help 1] [ERROR]

원인

boot parent를 없앴을때 아래의 마크업을 잃어버려서 발생 해결방법

아래의 방법으로 해결

   <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
    </plugin>
    <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-war-plugin</artifactId>
            <version>2.6</version>
            <configuration>
                <failOnMissingWebXml>false</failOnMissingWebXml>
            </configuration>
   </plugin>