16:15:50,709 WARN [MainDeployer] undeploy 'file:/srv/jboss/server/default/deploy/basic-scheduler.war' : package not deployed 16:15:51,216 INFO [TomcatDeployer] deploy, ctxPath=/basic-scheduler, warUrl=.../tmp/deploy/tmp21734basic-scheduler-exp.war/ 16:15:51,636 INFO [ContextLoader] Root WebApplicationContext: initialization started 16:15:51,637 INFO [[/basic-scheduler]] Loading Spring root WebApplicationContext 16:15:52,026 INFO [CollectionFactory] JDK 1.4+ collections available 16:15:52,267 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml] 16:15:52,617 INFO [XmlWebApplicationContext] Bean factory for application context [Root WebApplicationContext]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [mainJob,ourMainJob,ourMainJobCronTrigger,org.springframework.scheduling.quartz.SchedulerFactoryBean]; root of BeanFactory hierarchy 16:15:52,679 INFO [XmlWebApplicationContext] 4 beans defined in application context [Root WebApplicationContext] 16:15:52,757 INFO [XmlWebApplicationContext] Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@4ef122] 16:15:52,772 INFO [XmlWebApplicationContext] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@1b0d235] 16:15:52,809 INFO [UiApplicationContextUtils] Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.ResourceBundleThemeSource@a42c89] 16:15:52,815 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [mainJob,ourMainJob,ourMainJobCronTrigger,org.springframework.scheduling.quartz.SchedulerFactoryBean]; root of BeanFactory hierarchy] 16:15:53,115 INFO [DefaultListableBeanFactory] Destroying singletons in {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [mainJob,ourMainJob,ourMainJobCronTrigger,org.springframework.scheduling.quartz.SchedulerFactoryBean]; root of BeanFactory hierarchy} 16:15:53,117 ERROR [ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ourMainJob' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodException: java.lang.String.doTheJob() Caused by: java.lang.NoSuchMethodException: java.lang.String.doTheJob() at java.lang.Class.getMethod(Class.java:1581) at org.springframework.util.MethodInvoker.prepare(MethodInvoker.java:180)