일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 알게뭐냐
- 브로틀리
- jsr380
- 알고리즘
- 워드프레스
- kotliln
- cache-control
- 코드스피츠
- 지수반등
- 클래스레벨밸리데이션
- 지뢰찾기
- HTTP
- Spring
- brotli
- 개미수열
- etag
- LastModified
- cross parameter
- 랜선아미안해
- i18n
- 리얼월드HTTP
- 스프링
- jsr303
- Kotlin
- 이렇게살아야되나자괴감이
- Today
- Total
취미개발 블로그와 마음수양
로봇 코딩 https://post.naver.com/viewer/postView.nhn?volumeNo=7493170&memberNo=30786399
참고 https://qkrrudtjr954.github.io/java/2017/11/13/file-write.htmlhttp://woowabros.github.io/experience/2017/10/17/java-serialize.html @Test public void objectStreamTest() throws Exception{ List timeInfoList = repository.findAllByOrderByDateTimeAsc(); byte[] serializedMember; try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { try (ObjectOutputStream oos = new ObjectOutputStream(baos..
https://stackoverflow.com/questions/17331448/spring-handlermethodargumentresolver-not-executing/19847526 여기를 참고하면 된다. 왜 그랬던걸까 음 수정 ==> spring boot 2.0 버젼에서 enableWebMvc 와 configuration을 같이 써주면 된다. private @Inject RequestMappingHandlerAdapter adapter; @PostConstruct public void prioritizeCustomArgumentMethodHandlers () { List argumentResolvers = new ArrayList (adapter.getArgumentResolvers ()); Li..
mysql Foreign key constraint is incorrectly formed error 인 경우.. 이렇게 해결ALTER TABLE parent_table ENGINE=InnoDB; 해결처 https://stackoverflow.com/questions/8434518/mysql-foreign-key-constraint-is-incorrectly-formed-error
그냥 런타임으로 동작시키면 되는 코드이긴한데,테스트에서만 동작시키면 이런 에러가 나온다...하 internal/modules/cjs/loader.js:718 return process.dlopen(module, path.toNamespacedPath(filename)); ^ Error: The module '/Users/lucas/learn/vuejs/playcoin-wallet-dev/node_modules/scrypt/build/Release/scrypt.node'was compiled against a different Node.js version usingNODE_MODULE_VERSION 57. This version of Node.js requiresNODE_MODULE_VERSION 64. ..
하다보니 필요해서 찾아보다. package.json 에서 "scripts": { "dev": "node ./tesCommand.js --param $param",머 이런 식으로 정의하고 const commandLineArgs = require('command-line-args') const optionDefinitions = [ { name: 'param', alias: 'v', type: String }, { name: 'src', type: String, multiple: true, defaultOption: true } ] const options = commandLineArgs(optionDefinitions) console.log('options : ', options) 다음의 소스가 있다고 하..
이런 에러가 나뿐만 아니라 여러 사람이 겪은 듯 하다 Could not parse multipart servlet request; nested exception is java.io.IOException: The temporary upload location [/tmp/tomcat.6535258306400012745.5000/work/Tomcat/localhost/ROOT] is not valid 여러 사람https://github.com/JakduK/jakduk-api/issues/276http://java.ihoney.pe.kr/489 이슈 쓰레드 https://github.com/spring-projects/spring-boot/issues/9616 해결책1. 재부팅2. 여기 댓글을 보면 될 듯 하다..
그래들과 인텔리제이 환경에서 QueryDSL 설정을 하면서 보통 querydsl 라이브러리를 임포트하면서 :apt 형태를 해주면 자동으로 세팅을 해주고는 하는데이상하게 터미널 환경에서 하면 되는데 인텔리제이 환경에서 하면 안될 때가 있다... 보통 온갖 옵션에서 Content root 를 정하는 방식 등등이 있긴한데.. 차라리 직접 Task 를 정해서 하는게 훨씬 나을 때가 있다... 가끔 인텔리제이가 꼬이면.. 자동화된 방식이 어떤 폴더에 어떻게 generate 하는지 잘 모르겄다.. =ㅅ=; 이상하게 폴더에 클래스들이 안 생김.. 나같은 경우는 http://sai.world/?p=237 를 참고하여 다음의 소스를 적었다. 해보니 된다. task generateQueryDSL(type: JavaComp..
엔티티중에 @CreatedBy 가 붙은 엔티티가 있는데 set으로 직접 설정하고 저장하려고 해도 널로 들어가게 되는데 이런 경우 직접 하는 방법은 UserDetail detail = new UserDetail(); UserDetail.setEmail("arahansa@naver.com"); userDetailRepository.save(admin); Authentication newAuth = new UsernamePasswordAuthenticationToken(detail, null, null); SecurityContextHolder.getContext().setAuthentication(newAuth);뭐 이런 식으로 처리하거나.. (내가 그냥 급하게 메서드 처리한건 위에거) @Bean publi..
#슬랙자동가입 요즘엔 개발과 크게 상관없는 사람들도 IT관련사람이 있으면 슬랙방을 파보는 건지.. 개발외적으로 채팅방 하나 들어간 곳이 있는데, 어쩌다보니 어떤 분의 의견으로 카톡채팅방->슬랙채팅방으로 이전 준비를 하는 듯한 분위기다..해당 방에 들어가있던 IT 개발인으로써, 알고도 모른체가 할 수가 없어서 슬랙채팅방 자동 가입 서버를 헤로쿠에 간단하게 만들어주려고했는데 뭔가 자꾸 에러가 났다.. 에러는 #missing_scope 에러인데 두 개의 슬랙 자동가입 소스 레포지토리에서 같은 에러가 나는 걸 보면 내 쪽 에러같긴한데.. 해당 에러에 대하여 찾기 힘들었다.. 이슈나 문서, 구글링을 봐도 좀 반가운 닉넴이 보이긴 한데 내 문제는 해결이 되질 않고.. #이슈 (https://github.com/ou..