본문 바로가기
Spring/오류

[Spring] Maven 오류 - The markup in the document following the root element mut be well-formed, Project build error: Non-parseable POM ~ : start tag not allowed in epilog but got d

by 코딩전사_추추 2022. 4. 1.
728x90
반응형

안녕하세요 코딩전사_추추입니다.

Spring 공부를 하기 위해서 Maven을 사용해보았는데요!

다른 Spring pom.xml 파일에서 <dependencies> 태그와 <build> 태그를 가져와서

붙여 넣기만 했는데 오류가 뜨는 이유는 뭐죠..?

 

저에게 뜬 오류는 2가지였습니다.

 

1. The markup in the document following the root element mut be well-formed

2. Project build error: Non-parseable POM ~ : start tag not allowed in epilog but got d

 

이유를 찾아보겠습니다!!!

이유는! 붙여 넣은 위치가 틀렸습니다.

저 같은 경우는 <project> </project> 태그 안에 써야 되는데

밖에 냅다 붙여 넣기 해버려서 뜬 오류였습니다.

고치고 저장하니 두 오류 없어졌습니다!!

태그의 위치를 찾아서 확인해보시면 어딘가 틀린 게 있을 겁니다.

728x90
반응형