i have the next pom.xml code that i got from my university's website.And i face the problem in the next picture , i think it's all because im the pom not working properly so not including the right dependencies ( first time ever using maven and it's just a prediction) thank you in advance !
CodePudding user response:
In the editor, in line 23 and in the Problems view the project build error Non-parseable POM .../pom.xml: in epilog non whitespace content is not allowed but got c (position: END_TAG seen ...
is shown.
The error means you have or had the character c
after </project>
causing the pom.xml
file become unreadable for Eclipse (non-parseable because of the invalid XML). The screenshot shows that you have already removed the character but did not save the change. So it seems you just missed hitting Ctrl S to save the pom.xml
containing nothing or only whitespace after </project>
.
CodePudding user response:
I found somewhere that something can mess up the xml for no reason and cause a parsing problem just like i had the solution was kind of complicated for a first timer of an xml and maven dev like me , i've deleted the project and recreated a one , with a copy past of the same pom.xml code it works ! well if it does it does . that's my solution .