일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
- springboottest spybean
- LeetCode
- log error
- 스프링부트테스트
- error
- java 1.8 11
- Only void methods can doNothing()
- springboottest
- No tests found for given includes
- mockito에러
- java 버전 변경
- java 11
- java
- mockito테스트
- java version
- AWS CLI
- openfeign readTimeout
- aws
- openfeign connectTimeout
- JUnit
- easy
- OpenFeign
- Java 1.8
- springboot
- java 여러개 버전
- parse
- yum install java
- springboot 3 openfeign readtimeout
- Medium
- spring.cloud.openfeign timeout not working
- Today
- Total
목록전체 글 (111)
쩨이엠 개발 블로그
1. 현상 OpenFeign을 사용하기 위해 dependency들을 추가했다 dependencies { ... implementation 'org.springframework.cloud:spring-cloud-starter-openfeign' } dependencyManagement { imports { mavenBom "org.springframework.cloud:spring-cloud-dependencies:2020.0.3" } } 그리고 빌드했더니 빌드 실패가 뜨면서 이런 에러가 보였다 > Could not resolve all files for configuration ':compileClasspath'. > Could not find org.springframework.cloud:spring-..
i18n 의 messages.properties를 사용하는데 한글이 깨져나올때 해결 방법! 1. Preferences > Editor > File Encordings 에 들어간다 이 때 Default encoding for properties files 밑에 Transparent native-to-ascii conversion을 체크해주면! 왼쪽처럼 깨져보였던 한글이 잘 보이는것을 확인할 수 있다 체크를 했는데도 안된다면 Default encording이 UTF-8인지 확인해볼것! 끝!
1. 에러 JPA를 사용하던 중 ddl-auto를 update로 해놨더니 매번 스프링부트를 올릴 때마다 뭔가가 추가되던 도중 alter table adm_tags add constraint FKhrr3j1w5xn0ueh0s86u66dbjp foreign key (adm_faq_id) references adm_faqs (adm_faq_id) 이 alter 부분에서 밑의 콘솔 내용이 찍히면서 에러가 생겼다 GenerationTarget encountered exception accepting command : Error executing DDL " alter table adm_tags add constraint FKhrr3j1w5xn0ueh0s86u66dbjp foreign key (adm_faq_id) ..
Mysql에서 table에 쌓인 데이터 크기를 알고 싶은 경우 information_schema를 이용하면 알 수 있다 SELECT table_name, -- 테이블 명 table_rows, -- 전체 row 수 data_length, -- 저장된 데이터 크기 (Bytes) round(data_length/table_rows), -- 데이터 평균 크기(계산) avg_row_length -- 데이터 평균 크기(컬럼) FROM information_schema.TABLES WHERE table_name = '테이블명' AND 조건 GROUP BY table_name ORDER BY data_length DESC; data_length에서 table_rows로 나눠도 평균 크기를 알 수 있지만 avg_row_..
정말 오랜만에 개발 하려니까 run부터 안되는 현실 보통은 error 관련해서 디게 길게길게 말해주는데 intellij가 말이 짧아졌다 그래서 구글링해보니 java version 17쓸건데 없다고 한다 ..있는데? java -version 쳤을때 17.0.6 잘 나오는데..? 해서 찾아보니 Gradle JVM version을 못찾았을때 생기는 현상이라고 한다 IntelliJ > Preference > Build, Execution, Deployment > Build Tools > Gradle에 들어가서 Gradle JVM 쪽을 살펴보면 15라던지.. 15라던지.. 그런 java만 있고 17이 없을 수 있다 다운 받아 준 뒤 Apply 하면 끝 ! 그래도 안된다? 프로젝트 오른쪽 클릭 > Open Modu..