<?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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <artifactId>spring-boot-exceptions</artifactId> <name>spring-boot-exceptions</name> <packaging>jar</packaging> <description>Demo project for working with Spring Boot exceptions</description> <parent> <groupId>com.baeldung.spring-boot-modules</groupId> <artifactId>spring-boot-modules</artifactId> <version>1.0.0-SNAPSHOT</version> </parent> <!-- Added in order to produce ApplicationContextException error --> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> </dependencies> <build> <finalName>spring-boot-exceptions</finalName> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> </resource> </resources> </build> </project>