본문 바로가기
개발/Java

The unknown errors occur in pom.xml when using STS4

by Devsong26 2019. 8. 3.

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

 

Why am I getting Unknown error in line 1 of pom.xml?

Getting unknown error at Line 1 in pom.xml in Eclipse IDE. It was working fine till yesterday, but all of a sudden after updating my project from master and after fixing merge conflicts getting "Un...

stackoverflow.com

https://caileb.tistory.com/entry/pomxml-%ED%8C%8C%EC%9D%BC%EC%9D%98-line-1%EB%B2%88-Unknown-Error

 

pom.xml 파일의 line 1번 Unknown Error

에러 Unknown / line 1 / pom.xml / Maven Configuration Problem 개발환경 IDE : STS4 (Spring Tool Suite 4 / Version: 4.2.1.RELEASE / Build Id: 201904170946) 상황 STS4에서 프로젝트를 하나 생성하자 마자..

caileb.tistory.com

 

 

 

 

 


더 많은 내용을 보시려면 아래를 참고하세요.


블로그의 다른 글

 

How do I set up the OS system variables in Spring Boot Application Properties?

Introduction Recently, I have a job to use a public repository. But I don't want to make public my configuration information. At last, I found a way to meet my requirements and int..

developer-syubrofo.tistory.com

 

JAVA BigDecimal을 왜 그리고 어떻게 사용할까?

자바의 수 연산은 기본 자료형이나 BigDecimal 등의 클래스를 이용한다. 보통, Double(Wrapper class)와 BigDecimal 중 어떤 것을 사용해야 하는지로 고민하게 된다. 기본적인 수 연산은 +, -, *, /, % 연산자를..

developer-syubrofo.tistory.com

 

JSP 데이터 전송하는 방법 - form태그 (GET, POST방식 설명)

- form 태그란? 클라이언트에서 서버에게 데이터를 전송할 때 사용하는 HTML의 태그입니다. - 전송방식 전송방식에는 POST, GET 2개의 방식이 있습니다. (1) GET 방식 GET 방식은 클라이언트가 서버에게

developer-syubrofo.tistory.com

 

JSP 자바빈(JavaBean)이란 무엇일까?

- 자바빈(JavaBean)이란? 자바로 작성된 컴포넌트들 즉, 클래스(Class)를 일반적으로 말합니다. JSP 프로그래밍에는 DTO(Data Transfer Object)나 DAO(Data Access Object)클래스의 객체를 JSP페이지에서 사용하..

developer-syubrofo.tistory.com

 

JSP 페이지 구성 요소 - Page directive(페이지 지시어)

<%@page%>, <%@include%>, <%@taglib%>로 3가지가 있습니다. 1. <%@page%>란? 클라이언트의 요청에 의해 실행되는 JSP 페이지의 필요한 정보를 지정합니다.  속성 사용법 기본값 설명 info info = "설명" - 페..

developer-syubrofo.tistory.com

 

'개발 > Java' 카테고리의 다른 글

자바 애노테이션이란?  (0) 2022.03.24
JAVA BigDecimal을 왜 그리고 어떻게 사용할까?  (0) 2021.06.23
Spring Lombok  (0) 2018.04.26
Apache POI  (0) 2018.01.24
java - Generics & Wildcard  (0) 2017.12.16