Caused by%3A java.lang.NoSuchMethodExceptionorg.springframework.beans.factory.BeanCreationException:Error creating bean with name 'logPlatformDayLogDetail' defined in class path resource [spring/ApplicationContext-quartz.xml]:Invocation of init metho

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/24 15:21:25
Causedby%3Ajava.lang.NoSuchMethodExceptionorg.springframework.beans.factory.BeanCreationException:Er

Caused by%3A java.lang.NoSuchMethodExceptionorg.springframework.beans.factory.BeanCreationException:Error creating bean with name 'logPlatformDayLogDetail' defined in class path resource [spring/ApplicationContext-quartz.xml]:Invocation of init metho
Caused by%3A java.lang.NoSuchMethodException
org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'logPlatformDayLogDetail' defined in class path resource [spring/ApplicationContext-quartz.xml]:Invocation of init method failed; nested exception is java.lang.NoSuchMethodException:com.webgame.quartz.PlatformDayLogQuartz.analyzePlatformDayLog()
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by:java.lang.NoSuchMethodException:com.webgame.quartz.PlatformDayLogQuartz.analyzePlatformDayLog()
at java.lang.Class.getMethod(Class.java:1622)
at org.springframework.util.MethodInvoker.prepare(MethodInvoker.java:178)
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.afterPropertiesSet(MethodInvokingJobDetailFactoryBean.java:168)
at

Caused by%3A java.lang.NoSuchMethodExceptionorg.springframework.beans.factory.BeanCreationException:Error creating bean with name 'logPlatformDayLogDetail' defined in class path resource [spring/ApplicationContext-quartz.xml]:Invocation of init metho
从错误看是没有这个方法.
com.webgame.quartz.PlatformDayLogQuartz.analyzePlatformDayLog