I have Created a service and trying to schedule using GUI (https://localhost:8443/webtools/control/scheduleJob). It scheduled correctly but at run time showing following error :
2019-04-11 14:53:52,794 |OFBiz-JobQueue-1 |SafeObjectInputStream
|W| ************************Incompatible class: sun.util.calendar.ZoneInfo. Please see OFBIZ-10837. Report to dev ML if you use OFBiz without changes. Else add you class into UtilObject::getObjectExceptionError running script at location [component://webtools/groovyScripts/service/JobDetails.groovy]: java.lang.ClassCastException: Incompatible class: sun.util.calendar.ZoneInfo
I am using ofbiz16.11
May be JobDetails.groovy have some issue