我想为我的具有 spring2.5 的应用程序使用 cron 触发器
我按照http://www.a2ztechguide.com/2011/11/spring-quartz-scheduler-integration.html这个链接创建了一个简单的 pgm。但是在尝试将它部署到我的服务器时(weblogic 10g)...我得到以下异常....
<Aug 8, 2013 6:17:31 PM IST> <Warning> <HTTP> <BEA-101162> <User defined listener
org.springframework.web.context.ContextLoaderListener failed:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'printCurrentTimeJobDetail' defined in URL [file:/C:/bea/user_projects
/workspaces/One_CMS_Offline/Services/build/onecms-service.xml]: Initialization of
bean failed;
nested exception is java.lang.NoClassDefFoundError: org/quartz/JobDetail
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'printCurrentTimeJobDetail' defined in URL [file:/C:/bea/user_projects/workspaces/One_CMS_Offline/Services/build/onecms-service.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/quartz/JobDetail
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
Truncated. see log file for complete stacktrace
java.lang.NoClassDefFoundError: org/quartz/JobDetail
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getDeclaredMethods(Class.java:1791)
at java.beans.Introspector$1.run(Introspector.java:1272)
at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1270)
Truncated. see log file for complete stacktrace
有人可以告诉mw我哪里出错了吗?我包括了这两个罐子:spring-context-support-2.5.6.jar和com.springsource.org.quartz-1.6.2.jar
有人可以在这里提出一些解决方案吗..