Ugur Ugur - 1 year ago 114
Java Question

Quartz JobDetail missing method

I have an application that depends Quartz 1.6.4 version. I upgraded the Quartz to 2.1.6, then comes with compile error:

JobDetail class changed to the interface in new release and does not support getGroup() method any more.

How can I solve this problem?

Answer Source
JobDetail jobDetail;
String answer = jobDetail.getKey().getGroup();

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download