일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 개미수열
- 클래스레벨밸리데이션
- 코드스피츠
- brotli
- Spring
- cache-control
- 지수반등
- cross parameter
- i18n
- Kotlin
- 브로틀리
- 이렇게살아야되나자괴감이
- HTTP
- 워드프레스
- etag
- 스프링
- LastModified
- jsr303
- 지뢰찾기
- 랜선아미안해
- 알게뭐냐
- 리얼월드HTTP
- jsr380
- 알고리즘
- kotliln
- Today
- Total
목록분류 전체보기 (268)
취미개발 블로그와 마음수양
https://stackoverflow.com/questions/30788105/spring-security-hasrole-not-working 음.. 문제 : thymeleaf 에 sec:auth 어쩌고 관련 태그를 하려니 잘 안됐다. 위의 링크 스택오버 플로에 의하면 @Bean public SpringTemplateEngine templateEngine() { SpringTemplateEngine templateEngine = new SpringTemplateEngine(); templateEngine.setTemplateResolver(templateResolver()); templateEngine.addDialect(new SpringSecurityDialect()); return template..
로봇 코딩 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) 다음의 소스가 있다고 하..
기록용 ) 중2병 좀 들어 쓰는 조혈모 세포 기증후기..(아니 나에게도 이런 일이-_-) (사진도 좀 많은 장문의 스왑글) 1) 시작 시작은 어느날 아침이었다. 2017년 12월 28일의 8시 10분이었나.. 갑자기 병원에서 어떤 남자 의사분에게서 전화가 오더니.. 당신은 2010년에 조혈모세포 기증 동의를 하셨고 지금 2만분의 1확률로 환자가 발견됐으니 마음의 준비를 하시고 동의를 하셨으면 좋겠다는 이야기를 하셨다.. 당시 회사에도 이야기를 하였으나 나나 회사분들이나 크게 이 일의 중대함을 느끼진 못 했었고.. 나는 회사 일을 하다가 이게 무슨 전화였던가 하여.. 조금씩 검색을 해보고 아 이게 환자분과 환자의 가족분들 입장에서는 무척 중요한 일일 수 있구나라는 생각이 들어 결국 동의를 하고 말았다. 음..
이런 에러가 나뿐만 아니라 여러 사람이 겪은 듯 하다 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..