{"action":"created","issue":{"url":"https://api.github.com/repos/xautlx/s2jh/issues/102","repository_url":"https://api.github.com/repos/xautlx/s2jh","labels_url":"https://api.github.com/repos/xautlx/s2jh/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/xautlx/s2jh/issues/102/comments","events_url":"https://api.github.com/repos/xautlx/s2jh/issues/102/events","html_url":"https://github.com/xautlx/s2jh/issues/102","id":140545270,"number":102,"title":"前两天从github下载源码，本地打包后，应用启动不了","user":{"login":"zepeng06630925","id":11411715,"avatar_url":"https://avatars.githubusercontent.com/u/11411715?v=3","gravatar_id":"","url":"https://api.github.com/users/zepeng06630925","html_url":"https://github.com/zepeng06630925","followers_url":"https://api.github.com/users/zepeng06630925/followers","following_url":"https://api.github.com/users/zepeng06630925/following{/other_user}","gists_url":"https://api.github.com/users/zepeng06630925/gists{/gist_id}","starred_url":"https://api.github.com/users/zepeng06630925/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zepeng06630925/subscriptions","organizations_url":"https://api.github.com/users/zepeng06630925/orgs","repos_url":"https://api.github.com/users/zepeng06630925/repos","events_url":"https://api.github.com/users/zepeng06630925/events{/privacy}","received_events_url":"https://api.github.com/users/zepeng06630925/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-13T23:58:11Z","updated_at":"2016-03-14T01:38:28Z","closed_at":"2016-03-14T01:38:28Z","body":"三月 14, 2016 12:38:03 上午 org.apache.catalina.core.ApplicationContext log\r\n信息: No Spring WebApplicationInitializer types detected on classpath\r\n三月 14, 2016 12:38:04 上午 org.apache.catalina.core.ApplicationContext log\r\n信息: Initializing Spring root WebApplicationContext\r\n三月 14, 2016 12:38:24 上午 org.apache.catalina.core.StandardContext listenerStart\r\n严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener\r\norg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzRAMScheduler' defined in file [D:\\tomcat7\\webapps\\prototype\\WEB-INF\\classes\\service\\spring-schedule.xml]: Cannot resolve reference to bean 'jobBeanCfgService' while setting bean property 'jobBeanCfgService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobBeanCfgService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.scheduling.quartz.SchedulerFactoryBean lab.s2jh.schedule.service.JobBeanCfgService.quartzClusterScheduler; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzClusterScheduler' defined in file [D:\\tomcat7\\webapps\\prototype\\WEB-INF\\classes\\service\\spring-schedule.xml]: Invocation of init method failed; nested exception is org.quartz.SchedulerException: Registration of jobs and triggers failed: null [See nested exception: java.lang.reflect.UndeclaredThrowableException]\r\n\tat org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:334)\r\n\tat org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1418)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1159)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:615)\r\n\tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)\r\n\tat org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)\r\n\tat org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)\r\n\tat org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)\r\n\tat org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)\r\n\tat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\n\tat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)\r\n\tat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)\r\n\tat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)\r\n\tat org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)\r\n\tat org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobBeanCfgService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.scheduling.quartz.SchedulerFactoryBean lab.s2jh.schedule.service.JobBeanCfgService.quartzClusterScheduler; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzClusterScheduler' defined in file [D:\\tomcat7\\webapps\\prototype\\WEB-INF\\classes\\service\\spring-schedule.xml]: Invocation of init method failed; nested exception is org.quartz.SchedulerException: Registration of jobs and triggers failed: null [See nested exception: java.lang.reflect.UndeclaredThrowableException]\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1147)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)\r\n\tat org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)\r\n\t... 28 more\r\nCaused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.scheduling.quartz.SchedulerFactoryBean lab.s2jh.schedule.service.JobBeanCfgService.quartzClusterScheduler; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzClusterScheduler' defined in file [D:\\tomcat7\\webapps\\prototype\\WEB-INF\\classes\\service\\spring-schedule.xml]: Invocation of init method failed; nested exception is org.quartz.SchedulerException: Registration of jobs and triggers failed: null [See nested exception: java.lang.reflect.UndeclaredThrowableException]\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:517)\r\n\tat org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)\r\n\t... 36 more\r\nCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzClusterScheduler' defined in file [D:\\tomcat7\\webapps\\prototype\\WEB-INF\\classes\\service\\spring-schedule.xml]: Invocation of init method failed; nested exception is org.quartz.SchedulerException: Registration of jobs and triggers failed: null [See nested exception: java.lang.reflect.UndeclaredThrowableException]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1513)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:917)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:860)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:775)\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489)\r\n\t... 38 more\r\nCaused by: org.quartz.SchedulerException: Registration of jobs and triggers failed: null [See nested exception: java.lang.reflect.UndeclaredThrowableException]\r\n\tat org.springframework.scheduling.quartz.SchedulerAccessor.registerJobsAndTriggers(SchedulerAccessor.java:319)\r\n\tat lab.s2jh.schedule.ExtSchedulerFactoryBean.registerJobsAndTriggers(ExtSchedulerFactoryBean.java:128)\r\n\tat org.springframework.scheduling.quartz.SchedulerFactoryBean.afterPropertiesSet(SchedulerFactoryBean.java:508)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1572)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1510)\r\n\t... 48 more\r\nCaused by: java.lang.reflect.UndeclaredThrowableException\r\n\tat org.springframework.util.ReflectionUtils.rethrowRuntimeException(ReflectionUtils.java:309)\r\n\tat org.springframework.util.ReflectionUtils.handleInvocationTargetException(ReflectionUtils.java:288)\r\n\tat org.springframework.util.ReflectionUtils.handleReflectionException(ReflectionUtils.java:272)\r\n\tat org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:212)\r\n\tat org.springframework.scheduling.quartz.SchedulerAccessor.triggerExists(SchedulerAccessor.java:430)\r\n\tat org.springframework.scheduling.quartz.SchedulerAccessor.addTriggerToScheduler(SchedulerAccessor.java:356)\r\n\tat org.springframework.scheduling.quartz.SchedulerAccessor.registerJobsAndTriggers(SchedulerAccessor.java:300)\r\n\t... 52 more\r\nCaused by: org.quartz.JobPersistenceException: Couldn't retrieve trigger: Table \"QRTZ_TRIGGERS\" not found; SQL statement:\r\nSELECT * FROM QRTZ_TRIGGERS WHERE SCHED_NAME = 'quartzClusterScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? [42102-170] [See nested exception: org.hibernate.exception.SQLGrammarException: Table \"QRTZ_TRIGGERS\" not found; SQL statement:\r\nSELECT * FROM QRTZ_TRIGGERS WHERE SCHED_NAME = 'quartzClusterScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? [42102-170]]\r\n\tat org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1533)\r\n\tat org.quartz.impl.jdbcjobstore.JobStoreSupport$12.execute(JobStoreSupport.java:1522)\r\n\tat org.quartz.impl.jdbcjobstore.JobStoreCMT.executeInLock(JobStoreCMT.java:245)\r\n\tat org.quartz.impl.jdbcjobstore.JobStoreSupport.executeWithoutLock(JobStoreSupport.java:3723)\r\n\tat org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1519)\r\n\tat org.quartz.core.QuartzScheduler.getTrigger(QuartzScheduler.java:1530)\r\n\tat org.quartz.impl.StdScheduler.getTrigger(StdScheduler.java:508)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:483)\r\n\tat org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:209)\r\n\t... 55 more\r\nCaused by: org.hibernate.exception.SQLGrammarException: Table \"QRTZ_TRIGGERS\" not found; SQL statement:\r\nSELECT * FROM QRTZ_TRIGGERS WHERE SCHED_NAME = 'quartzClusterScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? [42102-170]\r\n\tat org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:122)\r\n\tat org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)\r\n\tat org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)\r\n\tat org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)\r\n\tat org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.continueInvocation(ConnectionProxyHandler.java:146)\r\n\tat org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)\r\n\tat com.sun.proxy.$Proxy70.prepareStatement(Unknown Source)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:483)\r\n\tat org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:73)\r\n\tat com.sun.proxy.$Proxy92.prepareStatement(Unknown Source)\r\n\tat org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTrigger(StdJDBCDelegate.java:1758)\r\n\tat org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1531)\r\n\t... 66 more\r\nCaused by: org.h2.jdbc.JdbcSQLException: Table \"QRTZ_TRIGGERS\" not found; SQL statement:\r\nSELECT * FROM QRTZ_TRIGGERS WHERE SCHED_NAME = 'quartzClusterScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? [42102-170]\r\n\tat org.h2.message.DbException.getJdbcSQLException(DbException.java:329)\r\n\tat org.h2.message.DbException.get(DbException.java:169)\r\n\tat org.h2.message.DbException.get(DbException.java:146)\r\n\tat org.h2.command.Parser.readTableOrView(Parser.java:4774)\r\n\tat org.h2.command.Parser.readTableFilter(Parser.java:1083)\r\n\tat org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1689)\r\n\tat org.h2.command.Parser.parseSelectSimple(Parser.java:1796)\r\n\tat org.h2.command.Parser.parseSelectSub(Parser.java:1683)\r\n\tat org.h2.command.Parser.parseSelectUnion(Parser.java:1526)\r\n\tat org.h2.command.Parser.parseSelect(Parser.java:1514)\r\n\tat org.h2.command.Parser.parsePrepared(Parser.java:404)\r\n\tat org.h2.command.Parser.parse(Parser.java:278)\r\n\tat org.h2.command.Parser.parse(Parser.java:250)\r\n\tat org.h2.command.Parser.prepareCommand(Parser.java:217)\r\n\tat org.h2.engine.Session.prepareLocal(Session.java:414)\r\n\tat org.h2.engine.Session.prepareCommand(Session.java:363)\r\n\tat org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1116)\r\n\tat org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:74)\r\n\tat org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:267)\r\n\tat net.sf.log4jdbc.ConnectionSpy.prepareStatement(ConnectionSpy.java:389)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:483)\r\n\tat org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.continueInvocation(ConnectionProxyHandler.java:138)\r\n\t... 76 more\r\n\r\n三月 14, 2016 12:38:24 上午 org.apache.catalina.core.StandardContext listenerStop\r\n严重: Exception sending context destroyed event to listener instance of class lab.s2jh.auth.security.AuthLogonHistRefreshListener\r\njava.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null\r\n\tat org.springframework.util.Assert.notNull(Assert.java:112)\r\n\tat org.springframework.util.Assert.notNull(Assert.java:123)\r\n\tat lab.s2jh.core.context.SpringContextHolder.getBean(SpringContextHolder.java:25)\r\n\tat lab.s2jh.auth.security.AuthLogonHistRefreshListener.contextDestroyed(AuthLogonHistRefreshListener.java:62)\r\n\tat org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5063)\r\n\tat org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5719)\r\n\tat org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)\r\n\tat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)\r\n\tat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)\r\n\tat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)\r\n\tat org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)\r\n\tat org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n\r\n三月 14, 2016 12:38:24 上午 org.apache.catalina.core.ApplicationContext log\r\n信息: Closing Spring root WebApplicationContext\r\n三月 14, 2016 12:50:45 上午 org.apache.catalina.core.ApplicationContext log\r\n信息: No Spring WebApplicationInitializer types detected on classpath\r\n三月 14, 2016 12:50:46 上午 org.apache.catalina.core.ApplicationContext log\r\n信息: Initializing Spring root WebApplicationContext\r\n三月 14, 2016 12:51:09 上午 org.apache.catalina.core.StandardContext listenerStart\r\n严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener\r\norg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzRAMScheduler' defined in file [D:\\tomcat7\\webapps\\prototype-1.0.0-standalone\\WEB-INF\\classes\\service\\spring-schedule.xml]: Cannot resolve reference to bean 'jobBeanCfgService' while setting bean property 'jobBeanCfgService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobBeanCfgService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.scheduling.quartz.SchedulerFactoryBean lab.s2jh.schedule.service.JobBeanCfgService.quartzClusterScheduler; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzClusterScheduler' defined in file [D:\\tomcat7\\webapps\\prototype-1.0.0-standalone\\WEB-INF\\classes\\service\\spring-schedule.xml]: Invocation of init method failed; nested exception is org.quartz.SchedulerException: Registration of jobs and triggers failed: null [See nested exception: java.lang.reflect.UndeclaredThrowableException]\r\n\tat org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:334)\r\n\tat org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1418)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1159)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:615)\r\n\tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)\r\n\tat org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)\r\n\tat org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)\r\n\tat org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)\r\n\tat org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)\r\n\tat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\n\tat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)\r\n\tat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)\r\n\tat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)\r\n\tat org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)\r\n\tat org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobBeanCfgService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.scheduling.quartz.SchedulerFactoryBean lab.s2jh.schedule.service.JobBeanCfgService.quartzClusterScheduler; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzClusterScheduler' defined in file [D:\\tomcat7\\webapps\\prototype-1.0.0-standalone\\WEB-INF\\classes\\service\\spring-schedule.xml]: Invocation of init method failed; nested exception is org.quartz.SchedulerException: Registration of jobs and triggers failed: null [See nested exception: java.lang.reflect.UndeclaredThrowableException]\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1147)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)\r\n\tat org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)\r\n\t... 28 more\r\nCaused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.scheduling.quartz.SchedulerFactoryBean lab.s2jh.schedule.service.JobBeanCfgService.quartzClusterScheduler; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzClusterScheduler' defined in file [D:\\tomcat7\\webapps\\prototype-1.0.0-standalone\\WEB-INF\\classes\\service\\spring-schedule.xml]: Invocation of init method failed; nested exception is org.quartz.SchedulerException: Registration of jobs and triggers failed: null [See nested exception: java.lang.reflect.UndeclaredThrowableException]\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:517)\r\n\tat org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)\r\n\t... 36 more\r\nCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzClusterScheduler' defined in file [D:\\tomcat7\\webapps\\prototype-1.0.0-standalone\\WEB-INF\\classes\\service\\spring-schedule.xml]: Invocation of init method failed; nested exception is org.quartz.SchedulerException: Registration of jobs and triggers failed: null [See nested exception: java.lang.reflect.UndeclaredThrowableException]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1513)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:917)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:860)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:775)\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489)\r\n\t... 38 more\r\nCaused by: org.quartz.SchedulerException: Registration of jobs and triggers failed: null [See nested exception: java.lang.reflect.UndeclaredThrowableException]\r\n\tat org.springframework.scheduling.quartz.SchedulerAccessor.registerJobsAndTriggers(SchedulerAccessor.java:319)\r\n\tat lab.s2jh.schedule.ExtSchedulerFactoryBean.registerJobsAndTriggers(ExtSchedulerFactoryBean.java:128)\r\n\tat org.springframework.scheduling.quartz.SchedulerFactoryBean.afterPropertiesSet(SchedulerFactoryBean.java:508)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1572)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1510)\r\n\t... 48 more\r\nCaused by: java.lang.reflect.UndeclaredThrowableException\r\n\tat org.springframework.util.ReflectionUtils.rethrowRuntimeException(ReflectionUtils.java:309)\r\n\tat org.springframework.util.ReflectionUtils.handleInvocationTargetException(ReflectionUtils.java:288)\r\n\tat org.springframework.util.ReflectionUtils.handleReflectionException(ReflectionUtils.java:272)\r\n\tat org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:212)\r\n\tat org.springframework.scheduling.quartz.SchedulerAccessor.triggerExists(SchedulerAccessor.java:430)\r\n\tat org.springframework.scheduling.quartz.SchedulerAccessor.addTriggerToScheduler(SchedulerAccessor.java:356)\r\n\tat org.springframework.scheduling.quartz.SchedulerAccessor.registerJobsAndTriggers(SchedulerAccessor.java:300)\r\n\t... 52 more\r\nCaused by: org.quartz.JobPersistenceException: Couldn't retrieve trigger: Table \"QRTZ_TRIGGERS\" not found; SQL statement:\r\nSELECT * FROM QRTZ_TRIGGERS WHERE SCHED_NAME = 'quartzClusterScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? [42102-170] [See nested exception: org.hibernate.exception.SQLGrammarException: Table \"QRTZ_TRIGGERS\" not found; SQL statement:\r\nSELECT * FROM QRTZ_TRIGGERS WHERE SCHED_NAME = 'quartzClusterScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? [42102-170]]\r\n\tat org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1533)\r\n\tat org.quartz.impl.jdbcjobstore.JobStoreSupport$12.execute(JobStoreSupport.java:1522)\r\n\tat org.quartz.impl.jdbcjobstore.JobStoreCMT.executeInLock(JobStoreCMT.java:245)\r\n\tat org.quartz.impl.jdbcjobstore.JobStoreSupport.executeWithoutLock(JobStoreSupport.java:3723)\r\n\tat org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1519)\r\n\tat org.quartz.core.QuartzScheduler.getTrigger(QuartzScheduler.java:1530)\r\n\tat org.quartz.impl.StdScheduler.getTrigger(StdScheduler.java:508)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:483)\r\n\tat org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:209)\r\n\t... 55 more\r\nCaused by: org.hibernate.exception.SQLGrammarException: Table \"QRTZ_TRIGGERS\" not found; SQL statement:\r\nSELECT * FROM QRTZ_TRIGGERS WHERE SCHED_NAME = 'quartzClusterScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? [42102-170]\r\n\tat org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:122)\r\n\tat org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)\r\n\tat org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)\r\n\tat org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)\r\n\tat org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.continueInvocation(ConnectionProxyHandler.java:146)\r\n\tat org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)\r\n\tat com.sun.proxy.$Proxy155.prepareStatement(Unknown Source)\r\n\tat sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:483)\r\n\tat org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:73)\r\n\tat com.sun.proxy.$Proxy176.prepareStatement(Unknown Source)\r\n\tat org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTrigger(StdJDBCDelegate.java:1758)\r\n\tat org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1531)\r\n\t... 66 more\r\nCaused by: org.h2.jdbc.JdbcSQLException: Table \"QRTZ_TRIGGERS\" not found; SQL statement:\r\nSELECT * FROM QRTZ_TRIGGERS WHERE SCHED_NAME = 'quartzClusterScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? [42102-170]\r\n\tat org.h2.message.DbException.getJdbcSQLException(DbException.java:329)\r\n\tat org.h2.message.DbException.get(DbException.java:169)\r\n\tat org.h2.message.DbException.get(DbException.java:146)\r\n\tat org.h2.command.Parser.readTableOrView(Parser.java:4774)\r\n\tat org.h2.command.Parser.readTableFilter(Parser.java:1083)\r\n\tat org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1689)\r\n\tat org.h2.command.Parser.parseSelectSimple(Parser.java:1796)\r\n\tat org.h2.command.Parser.parseSelectSub(Parser.java:1683)\r\n\tat org.h2.command.Parser.parseSelectUnion(Parser.java:1526)\r\n\tat org.h2.command.Parser.parseSelect(Parser.java:1514)\r\n\tat org.h2.command.Parser.parsePrepared(Parser.java:404)\r\n\tat org.h2.command.Parser.parse(Parser.java:278)\r\n\tat org.h2.command.Parser.parse(Parser.java:250)\r\n\tat org.h2.command.Parser.prepareCommand(Parser.java:217)\r\n\tat org.h2.engine.Session.prepareLocal(Session.java:414)\r\n\tat org.h2.engine.Session.prepareCommand(Session.java:363)\r\n\tat org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1116)\r\n\tat org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:74)\r\n\tat org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:267)\r\n\tat net.sf.log4jdbc.ConnectionSpy.prepareStatement(ConnectionSpy.java:389)\r\n\tat sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:483)\r\n\tat org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.continueInvocation(ConnectionProxyHandler.java:138)\r\n\t... 75 more\r\n\r\n三月 14, 2016 12:51:10 上午 org.apache.catalina.core.StandardContext listenerStop\r\n严重: Exception sending context destroyed event to listener instance of class lab.s2jh.auth.security.AuthLogonHistRefreshListener\r\njava.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null\r\n\tat org.springframework.util.Assert.notNull(Assert.java:112)\r\n\tat org.springframework.util.Assert.notNull(Assert.java:123)\r\n\tat lab.s2jh.core.context.SpringContextHolder.getBean(SpringContextHolder.java:25)\r\n\tat lab.s2jh.auth.security.AuthLogonHistRefreshListener.contextDestroyed(AuthLogonHistRefreshListener.java:62)\r\n\tat org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5063)\r\n\tat org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5719)\r\n\tat org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)\r\n\tat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)\r\n\tat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)\r\n\tat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)\r\n\tat org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)\r\n\tat org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n\r\n三月 14, 2016 12:51:10 上午 org.apache.catalina.core.ApplicationContext log\r\n信息: Closing Spring root WebApplicationContext\r\n三月 14, 2016 1:09:07 上午 org.apache.catalina.core.ApplicationContext log\r\n信息: No Spring WebApplicationInitializer types detected on classpath\r\n三月 14, 2016 1:09:07 上午 org.apache.catalina.core.ApplicationContext log\r\n信息: Initializing Spring root WebApplicationContext\r\n"},"comment":{"url":"https://api.github.com/repos/xautlx/s2jh/issues/comments/196099155","html_url":"https://github.com/xautlx/s2jh/issues/102#issuecomment-196099155","issue_url":"https://api.github.com/repos/xautlx/s2jh/issues/102","id":196099155,"user":{"login":"xautlx","id":3005754,"avatar_url":"https://avatars.githubusercontent.com/u/3005754?v=3","gravatar_id":"","url":"https://api.github.com/users/xautlx","html_url":"https://github.com/xautlx","followers_url":"https://api.github.com/users/xautlx/followers","following_url":"https://api.github.com/users/xautlx/following{/other_user}","gists_url":"https://api.github.com/users/xautlx/gists{/gist_id}","starred_url":"https://api.github.com/users/xautlx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xautlx/subscriptions","organizations_url":"https://api.github.com/users/xautlx/orgs","repos_url":"https://api.github.com/users/xautlx/repos","events_url":"https://api.github.com/users/xautlx/events{/privacy}","received_events_url":"https://api.github.com/users/xautlx/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T01:38:28Z","updated_at":"2016-03-14T01:38:28Z","body":"此项目已不做继续维护更新，建议访问新版项目：https://github.com/xautlx/s2jh4net"}}