일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- No tests found for given includes
- JUnit
- aws
- Medium
- Only void methods can doNothing()
- java version
- springboottest spybean
- ssl프로토콜확인
- java 1.8 11
- mockito테스트
- error
- parse
- java 버전 변경
- tls프로토콜확인
- log error
- springboottest
- ssl프로토콜
- Java 1.8
- OpenFeign
- mockito에러
- java 여러개 버전
- ssl이란?
- easy
- AWS CLI
- yum install java
- java
- springboot
- 스프링부트테스트
- LeetCode
- java 11
- Today
- Total
목록전체 글 (112)
쩨이엠 개발 블로그
서버의 정보를 노출하는 것도 해킹의 위험이 있다 그래서 보안 취약점으로 자주 걸리는 노출된 Server 정보를 숨기기로 한다 $ curl -i http://172.21.106.144:8080 HTTP/1.1 200 200 Date: Tue, 30 Jun 2020 08:51:33 GMT Server: Apache/2.4.5 (Unix) Set-Cookie: JSESSIONID=5B89ADE63BCD4E73EFD835B.Tomcat; Path=/; HttpOnly Content-Language: ko-KR Content-Length: 570 Vary: Accept-Encoding Content-Type: text/html;charset=UTF-8 curl을 날렸을 때 받는 Response에 Server 정보..
Class에서 초기화 메소드를 실행하고 싶다 @Service public class DataService { static Map qcPopMap; static Map qcItemMap; static List qcCycleList; DataService(){ initMap(); } private void initMap(){ qcStepConfigMap = new HashMap(); qcTargetDataMap = new HashMap(); qcCycleList = new ArrayList(); } } 예전이라면 생성자를 만들어서 그 안에다 집어넣어서 초기화를 시켜줄 수 있었다 DataService(){ initMap(); } 생성자로 init을 하고싶지 않다면 @PostConstruct를 사용한다 @Ser..
오랜만에 보는 스타트 실패 로그 ㅎㅎㅎㅎ *************************** APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class Action: Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the clas..
aws cli를 쓰기위해서는 aws 계정에 대한 configure를 써야한다 내 경우는 dev와 prod 두가지의 계정을 바꿔써야했다 $ aws configure list 결과값 Name Value Type Location ---- ----- ---- -------- profile None None access_key ****************4541 shared-credentials-file secret_key ****************H3R6 shared-credentials-file region ap-northeast-2 config-file ~/.aws/config 지금 현재는 profile 이름을 지정하지 않은 default의 경우이다 $ export AWS_DEFAULT_PROFILE=..