The method newJob(Class<QuartzTest>) is undefined for the type Test
*问题描述:***The method newJob(Class) is undefined for the type Test
解决办法:由JobBuilder创建。
比如:下面的例子会报错:JobDetail job = newJob(QuartzTest.class).withIdentity("job1", "group1").build(); 应该改为如下写法:JobDetail jo
原创
2017-08-11 14:16:31 ·
1452 阅读 ·
0 评论