Introduction
I start I made the new spring starter project in sts4.
But I checked the unknown error in pom.xml.
Subject
Why do these errors occur?
When the spring framework builds and compiles, depend on maven.
Something went wrong here and there was an error.
I don't know the specific reason.
How do fix these error?
Default pom.xml exists the only java.version in <properties>.
Add maven version 3.1.1 in <properties>.
<properties>
<java.version>1.8</java.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
</properties>
Conclusion
IDE configuration is very important.
I hope it will help people who have the same problem as me.
Reference URL
https://stackoverflow.com/questions/56142369/why-am-i-getting-unknown-error-in-line-1-of-pom-xml
https://caileb.tistory.com/entry/pomxml-%ED%8C%8C%EC%9D%BC%EC%9D%98-line-1%EB%B2%88-Unknown-Error
더 많은 내용을 보시려면 아래를 참고하세요.
블로그의 다른 글
'[개발] 언어 > Java' 카테고리의 다른 글
자바 애노테이션이란? (0) | 2022.03.24 |
---|---|
JAVA BigDecimal을 왜 그리고 어떻게 사용할까? (0) | 2021.06.23 |
Apache POI (0) | 2018.01.24 |
java - Generics & Wildcard (0) | 2017.12.16 |
lang package - String 사용하는 방법 (0) | 2017.11.19 |