bet365体育app下载_外围bet365 网址_bet365娱乐在线先锋网?bet365体育app下载_外围bet365 网址_bet365娱乐在线片段及技术文章聚合

spring4.1.6配置quartz2.2.1(maven)

参考:http://blog.csdn.net/lk_blog/article/details/11744621

依赖:


	4.0.0
	com.heli
	test-quartz
	war
	0.0.1-SNAPSHOT
	test-quartz?Maven?Webapp
	http://maven.apache.org
	
		UTF-8
		4.1.6.RELEASE
	

	
		
			org.quartz-scheduler
			quartz
			2.2.1
		

		
		
			javax.servlet
			javax.servlet-api
			3.0.1
		

		
		
			org.springframework
			spring-context-support
			${spring.version}
		

		
			org.springframework
			spring-expression
			${spring.version}
		

		
			org.springframework
			spring-core
			${spring.version}
		

		
			org.springframework
			spring-web
			${spring.version}
		

		
			org.springframework
			spring-webmvc
			${spring.version}
		

		
			org.springframework
			spring-context
			${spring.version}
		

		
			org.springframework
			spring-beans
			${spring.version}
		
		
			org.springframework
			spring-aop
			${spring.version}
		

		
			org.springframework
			spring-aspects
			${spring.version}
		

		
			org.springframework
			spring-orm
			${spring.version}
		

		
			org.springframework
			spring-test
			${spring.version}
			test
		

	

?

配置:



	
	
		
			
				
			
		
	
	

	
	
		
			
		
		
			
			0?0?0?*?*??
		
	
	

	
	
		
			
		
		
			work
		
	
	

	
	

?

类:

package?com.heli.job;

import?java.util.Date;

public?class?MyJob?{??
	??
????public?void?work()?{??
????????System.out.println("date:"?+?new?Date().toString());??
????}??
}

?

原文地址:spring4.1.6配置quartz2.2.1(maven)