使用quartz组件的时候, 报了这个问题
因为好久没启用自己这个组件 设置的触发时间是一周一次
半天没反应 还以为出错了 改了触发时间 发现并没有什么影响
11:13:44,833 DEBUG UpdateChecker:54 - Checking for available updated version of Quartz...
11:13:45,435 DEBUG UpdateChecker:49 - Quartz version update check failed: Server returned HTTP response code: 403 for URL: http://www.terracotta.org/kit/reflector?kitID=quartz&pageID=update.properties&id=-1062718463&os-name=Windows+10&jvm-name=Java+HotSpot%28TM%29+64-Bit+Server+VM&jvm-version=1.8.0_151&platform=amd64&tc-version=2.2.1&tc-product=Quartz&source=Quartz&uptime-secs=1&patch=UNKNOWN
如何去除这条信息,查询了很多信息.
发现 这样配置一下就行(跳过更新):
<bean id="scheduler" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<!--注入多个触发器-->
<property name="triggers">
<list>
<ref bean="cronTrigger"></ref>
</list>
</property>
<property name="quartzProperties">
<props>
<!-- 主要是这个参数 -->
<prop key="org.quartz.scheduler.skipUpdateCheck">true</prop>
</props>
</property>
</bean>
记录 留给以后方便查看