Trying to setup an elementary Spring boot app, using Win10, Eclipse (Photon 4.8.0), maven 3.5.3 within Eclipse, and following this tutorial
The error is the following :
Non-parseable POM C:\\Users\\user\\.m2\\repository\\org\\springframework\\boot\\spring-boot-dependencies\\2.1.3.RELEASE\\spring-boot-dependencies-2.1.3.RELEASE.pom: in epilog non whitespace content is not allowed but got s (position: END_TAG seen ...</build>\\n</project>\\ns... @3189:2)
I've tried various suggestions such as clearing cache, checking the encoding, etc. but as a beginner I have no idea where to look at
pom.xml :
<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>
<groupId>com.myproject</groupId>
<artifactId>myproject</artifactId>
<version>0.0.1-SNAPSHOT</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.3.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
in epilog non whitespace content is not allowed but got s (position: END_TAG seen ...</build>\\n</project>\\ns... @3189:2
:
You should re-check your pom (spring-boot-dependencies-2.1.3.RELEASE.pom), i think that you have the character 's' after the tag : </project>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.