spring2.5 を持つアプリに cron トリガーを使用したかった
http://www.a2ztechguide.com/2011/11/spring-quartz-scheduler-integration.htmlシンプルな pgm を作成する際にこのリンクをたどりました。以下の例外が発生します....
<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の 2 つの jar を含めました。
誰かがここで解決策を提案できますか..