求大神帮我看看怎么解决这问题啊!
<beanid="reportJob"class="org.springframework.scheduling.quartz.JobDetailBean"><prope...
<bean id="reportJob" class="org.springframework.scheduling.quartz.JobDetailBean"> <property name="jobClass"> <value>bean.EmailReportJob</value> </property> <property name="jobDataAsMap"> <map> <entry key="bs"> <ref bean="bs"/> </entry> </map> </property> </bean> <!-- 调度工作 --> <bean id="cronReportTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean"> <property name="jobDetail"> <ref bean="reportJob"/> </property> <property name="cronExpression"> <value>0 50 12 * * ?</value> </property> </bean>
<!-- 启动工作 --> <bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> <property name="triggers"> <list> <ref bean="cronReportTrigger"/> </list> </property> </bean>
这一行总是报错"No setter found for property" 展开
<!-- 启动工作 --> <bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> <property name="triggers"> <list> <ref bean="cronReportTrigger"/> </list> </property> </bean>
这一行总是报错"No setter found for property" 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询