Encountering Problem while setting up INTELLIJ IDE
Published
•1 min readIf you want to get the the Spring Boot Application in Java 8 then in that particular condition , try adding the following thing in the POM.xml in case you are trying to build the project with Java 8 .
- Ah, I see what you’re looking at! This snippet is from a Maven
pom.xmlfile, and it defines a repository from which Maven can download dependencies. Let me break it down step by step:
<repositories>
<repository>
<id>central</id>
<url>https://repo.maven.apache.org/maven2</url>
</repository>
<repositories>
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.0.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent>
DownGrade this to the version that you want and then click on the smal icon on the top right corner , things should work fine , in that case .