일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- No tests found for given includes
- error
- JUnit
- property or field 'jobparameters' cannot be found on object of type
- parse
- yum install java
- java 11
- el1008e
- no sources given
- log error
- java 여러개 버전
- OpenFeign
- springbatch error
- Java 1.8
- Medium
- AWS CLI
- mac os git error
- maybe not public or not valid?
- querydsl no sources given
- easy
- java 1.8 11
- LeetCode
- springboot
- xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- java
- 스프링부트테스트
- java 버전 변경
- java version
- springboottest
- aws
- Today
- Total
목록전체 글 (116)
쩨이엠 개발 블로그
linux의 스케쥴러인 crontab을 쓰는 방법이다 기본 실행은 root 계정으로 실행되며 crontab 명령어를 사용해 조회 및 추가가 가능하다 기본 crontab 규칙 분 시 일 월 요일 쉘 * * * * * command - 분 ( 0 ~59 ) - 시 ( 0 ~ 23 ) - 일 ( 1 ~ 31 ) - 월 ( 1 ~ 12 or jan, feb, ...) - 요일 ( 0 ~ 6 or sun, mon, ... ) : 요일은 일요일(0)부터 시작 ex ) 매일 1시에 start.sh 실행 0 1 * * * 위치/start.sh 5분마다 start.sh 실행 */5 * * * * 위치/start.sh 6시간마다 start.sh 실행 0 */6 * * * 위치/start.sh root 계정으로 쉘 실행하기..
Mockito를 사용 할 때 분명히 되어야하는데 안될 때가 있다(? 테스트가 안될리가 없는데... 하고 살펴봤더니 UnneccessaryStubbingException이 나타났다 org.mockito.exceptions.misusing.UnnecessaryStubbingException: Unnecessary stubbings detected. Clean & maintainable test code requires zero unnecessary code. Following stubbings are unnecessary (click to navigate to relevant line of code): 1. -> at com.service.DashboardServiceTest.setLineStatus(Das..
Spring Project 중 SecurityConfig에서 ROLE을 줄 때 Admin은 User의 롤을 포함한다라는 정책을 줄 때 쓰는 방법 @Configuration @EnableWebSecurity public class SecurityConfig extends WebSecurityConfigurerAdapter { @Override public void configure(HttpSecurity http) throws Exception{ http.authorizeRequests() .mvcMatchers("/admin").hasRole("ADMIN") .mvcMatchers("/user").hasRole("USER") .expressionHandler(expressionHandler()); // ..
Springboot test 중 Assert를 썼음에도 불구하고 "No tests found for given includes:" 라는 문구가 뜨는 경우가 있다 이 때는 import가 제대로 되어있는지 확인한다 이렇게 되어있는 경우가 많다 jupiter.api 패키지 안에 있는 Test 어노테이션으로 변경하면 해결되는 간단한 이슈! 매번 까먹어서 이번에 다시 적어놓기

Swagger에 Description을 달던 중 ResquestBody안에 LocalDateTime이 있는 경우 @Schema의 example대로 나오지 않는 오류가 발생했다 해결방법 1. JsonFormat 어노테이션 추가 @Schema(name = "CorrelationDto.ChartReq", description = "데이터 리스트") @Data class ChartReq { ... @Schema(description = "기간 시작일", example = "2021-11-30T00:00:00") @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss") private LocalDateTime shotRangeStart; @Schema(description = "기간 종료..