본문 바로가기

트러블슈팅/SPRING

(6)
[스프링] Maven build error(Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved) 메이븐을 build 하는 과정에서 아래와 같은 에러가 날 때가 있습니다. [INFO] [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building test 3.5.0 [INFO] ------------------------------------------------------------------------ [INFO] Downloading: https..
SVN Connector 에러(SVN: '0x0400006': Validate Repository Location) SVN 플러그인(SVN Team Provider) 설치 후 SVN 레파지토리를 추가할 때 SVN Connector 에러발생 해결방법 Window > Preferences > Version Control(Team) > SVN > SVN Connector 탭에 커넥터 추가 SVN Connector 탭화면 > Get Connectors 버튼 클릭 > SVN Connector 를 설치 SVN Connector 설정을 다시 확인해 보면 정상적으로 SVN Connector 가 설치되어 있는 것을 확인할 수 있다.
[스프링부트]No identifier specified for entity Caused by: org.hibernate.AnnotationException: No identifier specified for entity: hello.hellospring.domain.Member import org.springframework.data.annotation.Id; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; @Entity public class Member { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; 오류를 잘 읽어 보면 Annotat..
[스프링] Maven build error 메이븐을 build 하는 과정에서 아래와 같은 에러가 날 때가 있습니다. The method getTextContent() is undefined for the type Node 문제 원인 자바 실행 도구에 문제가 생긴 것입니다. 이클립스에는 기본적으로 자바 실행 도구가 JRE(Java Runtime Environment) 로 연결이 되어 있습니다. 하지만 해당 환경에서는 JRE 가 아닌 JDK(Java Development Kit)를 필요로 합니다. 문제해결 properties > Java Build Path > edit > jdk로 변경
[JAVA] JRE System Library 우선 순위 문제 자바 프로그래밍을 하는 과정에서 아래와 같은 에러가 날 때가 있습니다. The method getTextContent() is undefined for the type Node 문제 원인 다른 버전의 org.w3c.dom.Node를 사용하여 나오는 문제이다. 문제해결 JRE System Library를 다른 라이브러리들보다 우선순위를 위로 올리면 된다. 그러면 해당 클래스를 우선순위가 높은 JRE에 있는 파일로 사용하게 된다. properties > Java Build Path
[spring] STS에서 자바 버전 문제 spring 환경을 셋팅하는 과정에서 프로젝트를 빌드 할 때 아래와 같은 에러가 날 때가 있습니다. Java compiler level does not match the version of the installed Java project facet. "project name" Unknown Faceted Project Problem (Java Version Mismatch) 문제 원인 컴파일러의 레벨과 sts에서 설정된 버전이 일치되지 않아서 생기는 문제일 확률이 높다 문제해결 properties > Project Facets > Java 버전을 맞춰 준다.