전자정부 프레임워크를 설치하고 기본적인 egovFrame web Project를 생성만 했는데도 

 

Problems에 에러가 나있다.

 

web.xml is missing and <failOnMissingWebXml> is set to true pom.xml

 

경우에는 pom.xml에 

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>kr.xxx.xxx</groupId>
	<artifactId>sample</artifactId>
	<packaging>YOURWARNAME</packaging>
	<version>1.0.0</version>
	<name>sample</name>
	<url>http://www.egovframe.go.kr</url>
	<build>
		...
        <pluginManagement>
            <plugins>
				...	
                <plugin> <--! 여기서부터 -->
                	<groupId>org.apache.maven.plugins</groupId>
                	<artifactId>maven-war-plugin</artifactId>
                	<version>2.4</version>
                	<configuration>
                		<warSourceDirectory>src/main/webapp</warSourceDirectory>
					<warName>YOURWARNAME</warName>
                		<failOnMissingWebXml>false</failOnMissingWebXml>
                	</configuration>
                </plugin> <--! 여기까지 -->
                ...
            </plugins>
        </pluginManagement>
	...
	</build>
</project>

plugins 안에 내용을 넣으면 된다 <warName>은 본인 프로젝트명에 맞춰야 한다.