今天照着Quartz官網的示例寫一個定時器,運行時總是發生異常,異常說明以下: java
org.quartz.SchedulerException: Problem instantiating class 'guilinsoft.ddsx.quartz.MCron' [See nested exception: java.lang.IllegalAccessException: Class org.quartz.simpl.SimpleJobFactory can not access a member of class guilinsoft.ddsx.quartz.MCron with modifiers ""] Caused by: java.lang.IllegalAccessException: Class org.quartz.simpl.SimpleJobFactory can not access a member of class guilinsoft.ddsx.quartz.MCron with modifiers ""
原來個人MCro的類不是Public類型,將它改爲 Public 就好了 ui
休閒豆,IT資訊,IT新聞資訊,電影BT下載,高清電影下載,電影下載,單機遊戲下載,遊戲下載,電子書下載,電子書PDF下載 .net