İlkbahar 3.0.5'ten yay 4.1.X'e geçiş yapmaya çalışıyorum.İlkbahar 3'ten İlkbahar 4'e geçiş - org.springframework.scheduling.quartz.CronTriggerBean
Bahar 3 "org.springframework.scheduling.quartz.CronTriggerBean"
olarak adlandırılan Class vardır Ama Bahar 4 bu sınıf adını içermez.
[5/28/15 20:10:16:798 EDT] 00000092 ClassPathXmlA W org.springframework.context.support.AbstractApplicationContext __refresh Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.scheduling.quartz.CronTriggerBean] for bean with name 'beanIdName' defined in class path resource [config/spring/WxsCacheContext.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.scheduling.quartz.CronTriggerBean at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1328)
Aynı sınıfa sahip "yay desteği" gibi alternatifleri denedim. Ama şans yok.
o kavanozu aldıktan sonra bunun Yani böyle aşağıda
org.springframework.scheduling.quartz.CronTriggerBean
org.springframework.scheduling.quartz.CronTriggerFactoryBean
org.springframework.scheduling.quartz.JobDetailBean
org.springframework.scheduling.quartz.JobDetailFactoryBean
adımlarınız olarak CronTriggerFactoryBean & JobDetailFactoryBean için Sınıf adlarını değiştirin, Bahar 3.1+ itibaren kuvars
[5/28/15 15:37:02:665 EDT] 0000006e SystemOut O ERROR (?:?) - java.lang.Exception: Bean from SpringUtils.getSpringBean(hostnameVerifierSetter) error message: Unable to initialize group definition. Group resource name [classpath*:beanRefFactory.xml], factory key [beanContext]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'beanContext' defined in URL [file:/C:/Program%20Files%20(x86)/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/cellName/Project.ear/configurations/beanRefFactory.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.quartz.impl.JobDetailImpl
[org.springframework.scheduling.quartz.JobDetailBean Spring 4.1.1'de eksik] olası kopyası (http://stackoverflow.com/questions/26226611/org-springframework-scheduling-quartz-jobdetailbean-missing-in- bahar-4-1-1) – Stewart