티스토리 뷰
개발 Story/개발관련잡지식
org.springframework.beans.MethodInvocationException: Property 'cronExpression' threw exception; nested exception is java.text.ParseException: Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.
niee 2018. 6. 29. 10:06nested PropertyAccessExceptions (1) are: PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'cronExpression' threw exception; nested exception is java.text.ParseException: Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.
스프링 쿼츠의 cronExpression 설정시
day-of-week나 day-of-month가 같이 값이 있을경우 발생
설정 값이 아래와 같은데
초 분 시 일 월 요일 (년옵션)
일과 요일은 같이 지정할 수 없음
* * * * * ?
혹은
* * * ? * MON
처럼 요일이 있으면 일을 ? 로 일이있으면 요일을 ? 로 해야함
댓글
최근에 올라온 글
최근에 달린 댓글
글 보관함
- Total
- Today
- Yesterday
TAG
- getaddrinfo ENOTFOUND localhost
- sprign security
- jquery
- replaceWith
- cronexpression
- 중복 실행
- 2장요약
- GitHub
- array
- springsecurity
- git log
- 자료형
- mongoDB
- remember-me
- java
- javascript
- Security
- indexeddb
- 스프링시큐리티
- 중복 호출
- errordocument
- 몽고디비
- 인테리어 시뮬레이터
- git reflog
- fullcalendar
- Spring
- Git
- intranet 설치방법
- yyyy-MM-dd
- xcrun