ERROR

ERROR

[ERROR] No tests found for given includes: [com.express.freight.common.UserRedisRepositoryTest.test]

그 외 에러 @ID 문제 @Id 어노테이션을 org.springframework.data.annotation.Id 로 임포트 해야 한다 그렇지 않을 경우, Error creating bean with name '?? repository' defined in ?? repository defined in @EnableRedisRepositories declared on RedisRepositoriesRegistrar.EnableRedisRepositoriesConfiguration: Invocation of init method failed; Bean 등록이 안될 수 있다. ( 프로젝트 실행이 안된다! ) 무슨 에러? Spring Boot Test시 test를 찾지 못해서 발생하는 에러. 언제 발생? Jun..

ERROR

[intellij] Stuck Scanning files to index

인덱싱에서 계속 반복될 경우 : Synchronize .... 를 제외한다. invalidate Caches.. - 마지막 4번째 항목 체크하고 리스타트 한다.

ERROR

[ERROR] Invalid character found in the request target ... The valid characters are defined in RFC 7230 and RFC 3986

java.lang.IllegalArgumentException: Invalid character found in the request target [/v1/user/students/contracts/list?type=normal&date_type=range&from_date=2023-04-19&to_date=2023-05-19&user_type=&grade=all&searchType=all&keyword=&service_status[]=S1&service_status[]=3&page_size=10&page_count=1&flag=manager ]. The valid characters are defined in RFC 7230 and RFC 3986 service_status 를 배열로 보냈기 때문에 발..

ERROR

[ERROR] com.querydsl.core.types.ExpressionException

com.querydsl.core.types.ExpressionException: com.org.lessortalk.post.entity.PostDto at com.querydsl.core.types.QBean.newInstance(QBean.java:246) at com.querydsl.jpa.FactoryExpressionTransformer.transformTuple(FactoryExpressionTransformer.java:51) at org.hibernate.hql.internal.HolderInstantiator.instantiate(HolderInstantiator.java:85) at org.hibernate.loader.hql.QueryLoader.getResultList(QueryLoa..

ERROR

[ERROR] CORS React (CRA) + JAVA 11

🥕 서버 쪽 포트는 8080 / front 쪽 포트는 3000을 쓰고 있다. 😢 back : springboot java 11 🤢 front : react node 8080 서버로 API 요청시 요청값은 다음과 같이 온다. back단의 response header에 Access-Control-Allow-Origin 설정을 한다면, 모든 요청 response에 header를 설정해야 한다. 로컬환경에서는 처리하지만, 소프 배포이후에는 nginx 나 apache의 proxy 설정이 필요하다. 🤨 클라이언트쪽의 proxy 설정을 통해 해결 할 경우 다음과 같다. 1. 미들웨어 설치로 설정 $ npm install http-proxy-middleware --save $ yarn add http-proxy-mid..

ERROR

[ERROR] problem: package org.junit does not exist

junit 사용 시 build 과정에서 못찾는 문제가 있음. 해결책 1. build and run using : gradle -> intelij IDEA Run tests using: gradle -> intelij IDEA 해결책 2 : 프로젝트 구조 중 src/test/java --> 에서 src/main/test로 변경. 나도 이렇게 해결.

ERROR

[ERROR] Spring 5.3.XX / 404 Not Found Return

신규 프로젝트에서 스프링 4.2.3 버전을 쓰다가 5.3.13 버전으로 버전업을 했다. 일단 첫째로 라이브러리 호환 안되는 경우 체크 + 저번에 보아두었던 RestTemplate 말고 WebClient 메서드를 알아 보려고 했는데 테스트용으로 가볍게 API를 호출했던 결과 404만 뱉어냈다. swagger-ui.html 관련 페이지를 호출하는 경우도 모두 마찬가지였다. 당시의 로컬 호스트 로그 기록 : 더불어 filter 단에서 찍히는 클라이언트 요청의 파라미터도 컨트롤러 단에서는 찾아볼수도 없는 버그도 있었음. 다른 사람들은 ? https://stackoverflow.com/questions/70691545/http-status-404-not-found-java-spring-mvc HTTP Status..

ERROR

[ERROR] Could not find a declaration file for module 'styled-components/native'

✍ 라이브러리가 분명 경로에 있음에도 찾지못한다면, $ npm add @types/styled-components-react-native -D

ERROR

허가 거부 / 스크립트 실행 오류 / ^M 문자 제거

✍ 권한 오류 == 실행권한이 없다고 생각했다. 따라서 chmod를 사용해서 실행권한을 주려고 했다. 찾아낸 오류 원인은 다음과 같다. $ vi -b myScript.sh 명령어를 입력한다면.. 👉 윈도우에서 작성한 파일은 ^M 개행문자가 삽입되어 있음을 확인 할 수 있다. 삭제해주자.

ERROR

[ERROR] linux 장치에남은 공간이 없음

그냥 tab키 누를 때마다 저런 에러를 뱉는다면. $ df -h 로 검색했을 때, dev / dsa2 의 사용량이 다 찼을 경우. 🥕 각 디렉토리 별 용량 체크 : $ du -h --max-depth=1 필요한 dir의 파일을 삭제해서 처리한다.

girin_dev
'ERROR' 카테고리의 글 목록