The method newJob(Class<QuartzTest>) is undefined for the type Test
来源:互联网 发布:mysql 服务器配置 编辑:程序博客网 时间:2024/05/24 05:04
*问题描述:***The method newJob(Class) is undefined for the type Test
解决办法:由JobBuilder创建。
比如:下面的例子会报错:
JobDetail job = newJob(QuartzTest.class).withIdentity("job1", "group1").build();
应该改为如下写法:
JobDetail job=JobBuilder.newJob(MyJob.class).withIdentity("job1","group1").build();
阅读全文
0 0
- The method newJob(Class<QuartzTest>) is undefined for the type Test
- The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory!
- The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory
- The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory
- The method isEmpty() is undefined for the type String/String
- The method getJspApplicationContext(ServletContext) is undefined for the type
- The method getTextContent() is undefined for the type Node
- The method getTextContent() is undefined for the type Element
- The method getJspApplicationContext(ServletContext) is undefined for the type Js
- The method getTextContent() is undefined for the type Node
- The method setCharacterEncoding(String) is undefined for the type HttpServletResponse
- The method setCharacterEncoding(String) is undefined for the type HttpServletResponse
- The method getResources() is undefined for the type
- The method consume(HttpEntity) is undefined for the type EntityUtils
- 解决The method getCookieStore() is undefined for the type HttpClient
- The method getTextContent() is undefined for the type Node
- The method getTextContent() is undefined for the type Node错误
- The method getJspApplicationContext(ServletContext) is undefined for the type
- 字符串+尺取法
- 侧栏滑动
- python 爬虫实战
- 【PythonDjango后台实例 第三章】Python3.6.1+Django1.8 模版的继承使用
- 引用类型---Date
- The method newJob(Class<QuartzTest>) is undefined for the type Test
- Java设计模式之十二:策略模式
- 学习java的第5天
- 【物联网】二维码——简要介绍
- spring Controller 之前修改/增加请求参数和值request.getParameterMap() --java
- 程序员成长历程的四个阶段
- 一致性HASH算法详解
- Mysql主从复制原理
- Android 自定义漂亮的Seekbar样式