Q: Spring Batch CommandLineJobRunner : Error : ClassNotFound I'm getting following error while executing command ( running on windows OS ):

java -cp "build/libs/BatchExample.jar;lib/*"
  org.springframework.batch.core.launch.support.CommandLineJobRunner
  JobConfigClass jobName

Error:
Error: Could not find or load main class org.springframework.batch.core.launch.support.CommandLineJobRunner
My project is a gradle project.
I tried many options but no luck.
Please help.
Note: 
BatchExample.jar already have spring-core-4.3.7.RELEASE.jar inside BOOT-INF\lib\
