[Solved] SpringBoot Error: Property ‘mapperLocations‘ was not specified.

Configure a maven filter dependency in POM. XML

<build>
        <!--Configuring maven filtering-->
        <resources>
            <resource>
                <directory>src/main/java</directory>
                <includes>
                    <include>**/*.properties</include>
                    <include>**/*.xml</include>
                </includes>
                <filtering>false</filtering>
            </resource>
        </resources>
    </build>

Read More: