분류 전체보기 97

[Spring Batch] java.lang.IllegalStateException: ItemWriter must be provided 에러

[Spring Batch] java.lang.IllegalStateException: ItemWriter must be provided 에러 java.lang.IllegalStateException: ItemWriter must be provided at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:486) at org.springframework.bea..

에러 2022.12.15

[linux] There are stopped jobs. (exit로 못빠져나갈때)

[linux] There are stopped jobs. (exit로 못빠져나갈때) exit logout There are stopped jobs. ✔️ 상황 서버에서 작업을 잔뜩하고 이제 나가려고 exit 명령어를 쳤는데 위와 같은 메시지와 함께 나가지지않았다. ✔️ 원인 중지된 작업이 있기 때문이다. 중지된 작업은 일시적으로 백그라운드로 전환되어 더 이상 실행되지 않지만 여전히 리소스를 사용 중인 작업이라고 한다. ✔️ 해결 아래 명령어를 쳐보면 현재 중지된 작업이 어떤게 있는지 알 수 있다. jobs 해결방법 1) fg %[번호]를 쳐서 중지된 작업으로 돌아가서 종료시킨다. fg %[번호] 해결방법 2) kill %[번호]를 쳐서 작업을 종료한다. kill %[번호] 📍 참고링크 https://po..

리눅스 2022.12.08

[SonarQube] 로컬 환경에 소나큐브 적용하기 (with Docker)

[SonarQube] 로컬 환경에 소나큐브 적용하기 (도커) - 개인기록용 * 환경 - M1 MacBook - sonarqube 9.4.0 (docker) - IntelliJ 2022.2.3 - Docker v4.13.1 - springboot 2.7.4 - gradle.. 1. 도커를 이용해 소나큐브를 설치한다. docker run -d -p 9000:9000 mwizner/sonarqube:9.4.0-community (8.7.1버전을 받았다가 9.4.0버전으로 다시받았는데 캡쳐는 8.7.1로 됐넹..) 2. http://localhost:9000/ 접속 초기 비밀번호 admin/admin 3. 유저 생성 Administration > Security > Users - Admin 계정을 사용하는건 안..

개발/기타 2022.11.29

[에러] error: method does not override or implement a method from a supertype

[에러] error: method does not override or implement a method from a supertype ✔ 현상 추상클래스를 상속받는 클래스에 @SuperBuilder 어노테이션이 붙어있었는데 (toBuilder = true)를 추가했더니 발생 (Build 단계에서 오류 발생 - compileJava) @SuperBuilder(toBuilder = true) ✔ 원인 상속하는 상위 타입과 맞지않는건 override 혹은 implement를 할 수 없다. 나는 상속하는 추상클래스에는 아래와 같이 @SuperBuilder만 붙어있었기에 오류가 났다. ✔ 해결 상속하는 추상클래스에도 어노테이션을 맞춰주었다. @SuperBuilder(toBuilder = true)

에러 2022.11.23

[MongoDB] BSONTypeError: Argument passed in must be a string of 12 bytes or a string of 24 hex characters or an integer 에러 해결

[MongoDB] BSONTypeError: Argument passed in must be a string of 12 bytes or a string of 24 hex characters or an integer 에러 해결 BSONTypeError: Argument passed in must be a string of 12 bytes or a string of 24 hex characters or an integer ✔ 환경 - MongoDB 4.4.10 ✔ 현상 MongoDB를 사용하는데 새로운 Collection을 만들어서 삭제하려고 쿼리를 날렸는데 해당 에러가 났다. db.cherry.deleteOne({ "_id" : "cac42863-b337-4740-b77e-d802a07fdd5c"}); ✔..

에러 2022.11.09

[Spring] HV000030: No validator could be found for constraint 'javax.validation.constraints.NotEmpty' validating type 'java.lang.Long' 에러 해결

[Spring] HV000030: No validator could be found for constraint 'javax.validation.constraints.NotEmpty' validating type 'java.lang.Long' 에러 해결 javax.validation.UnexpectedTypeException: HV000030: No validator could be found for constraint 'javax.validation.constraints.NotEmpty' validating type 'java.lang.Long'. Check configuration for 'ㅁㅁㅁㅁ' ✔ 현상 RequestBody에 Long타입을 넣고 요청했는데 오류가 났다. ✔ 원인 @NotEmpty..

에러 2022.11.08
반응형