Home > front end >  Content is not allowed trailing in this section / lambda expression are allowed at source level 1.8
Content is not allowed trailing in this section / lambda expression are allowed at source level 1.8

Time:01-16

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 ! enter image description here

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 .

  •  Tags:  
  • Related