- Cannot instantiate type SimpleTrigger
- Cannot instantiate type JobDetail
After searching for a solution I found many forum posts describing the same problem. The only responses given were to ensure all the appropriate JAR files were added to the project build path/class path. For me though this didn't solve the problem.
After some probing I realised the problem I was having which basically made the majority of the tutorials and examples on the internet correct in theory but syntactically wrong and the code they contained useless to me. The problem is that I was using the latest version of Quartz 2.0 and this updates has significantly changed the API from all quartz 1.x versions (e.g. quartz 1.8).
So if you are using (or updating to) Quartz 2.0 and you find you have these problems I have three tips for you
- Familiarise yourself with all of the changes and new features of Quartz (click here)
- Read and understand the source code available in the examples folder that comes with your quartz download
- Follow the official Quartz tutorial (click here) To learn how to use the new API
Hope this helps
Mayo
i was facing the same problem, and your blog really helped me .... thanks
ReplyDeleteHey,
ReplyDeleteThanks a lot. Actually the very first point makes it very clear. Just goto the page that is linked in 1st point and do exactly as it says. Just include your quartz.all.jar in your build path and you will be fine to work with your application.
Thanks once again.
Thnx alot. This really helped me.
ReplyDeleteThnx buddy....
ReplyDeleteBài post của tác giả rất hay, thank bạn đã share.
ReplyDeleteTrang tham khảo : Giá thạch anh vụn
Kiến thức của tác giả rất hữu ích, cám ơn bạn đã chia sẻ.
ReplyDeleteXem tại website : Gia công đá thạch anh
Mục post của admin thật được, anh đã share.
ReplyDeleteXem thêm tại website: Vòng tay đá thạch anh
***
ReplyDeleteBài viết của Chủ thớt rất hay, thank anh đã share.
Thông tin thêm : Thiềm thừ