반응형
zsh no matches found 에러 해결하기
spring batch 공부를 하면서 job parameter을 java -jar 방식에서 넘기려 시도하였다.
java -jar spring-batch-0.0.1-SNAPSHOT.jar name=user1 seq(long)=2L date(date)=2022/01/01 age(double)=16.5
zsh: no matches found: seq(long)=2L
위와 같이 zsh상에 파라미터를 받지 못하는 현상이 나타낫다.
이는 zsh에서만 그런지 몰라도 인식에 문제가 있는 것 같다.
java -jar spring-batch-0.0.1-SNAPSHOT.jar 'name=user1 seq(long)=2L date(date)=2022/01/01 age(double)=16.5'
위와 같이 작은따옴표 '
으로 파라미터 전체를 감싸 해결하였다.
스프링 배치 너무 재밌다..
반응형
'ETC > 오류해결' 카테고리의 다른 글
Mysql 데이터정렬 collation 이슈 해결하기 (0) | 2023.12.22 |
---|---|
mac 5000 port가 사용중일 때 (0) | 2022.03.07 |
Jetbrain Intellij가 실행되지 않을 때 (0) | 2021.09.08 |
[Spring] web.xml cvc-elt.1.a: Cannot find the declaration of element 'web-app' (0) | 2021.05.26 |
log4j.xml The file cannot be validated as the XML definition 오류 (0) | 2021.05.24 |
[Spring] Driver net.sf.log4jdbc.sql.jdbcapi.DriverSpy claims to not accept jdbcUrl 오류 (1) | 2021.05.17 |