org.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]

GitHub | zepeng06630925 | 9 months ago
  1. 0

    前两天从github下载源码,本地打包后,应用启动不了

    GitHub | 9 months ago | zepeng06630925
    org.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]
  2. 0

    CachedRowSet Support

    Google Groups | 3 years ago | da...@dandymadeproductions.com
    org.h2.jdbc.JdbcSQLException: Column "NAME" not found; SQL statement: INSERT INTO KEY_TABLES.PUBLIC."key_table5" (name, color, price) VALUES (?, ?, ?) [42122-175]
  3. 0

    H2Data cannot cope with periods in column names

    GitHub | 2 years ago | dpisarenko
    java.io.IOException: java.sql.SQLException: org.h2.jdbc.JdbcSQLException: Unbekannter Datentyp: "." Unknown data type: "."; SQL statement: CREATE TABLE table (user.urn VARCHAR PRIMARY KEY,domain.name CLOB,domain.key CLOB,domain.secret CLOB,domain.region CLOB,domain.bucket CLOB,domain.syslog CLOB) [50004-176]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JdbcSQLException: Table "FILECHECKS" not found

    GitHub | 2 years ago | eallik
    org.h2.jdbc.JdbcSQLException: Table "FILECHECKS" not found; SQL statement: select x2."id", x2."filename", x2."timestamp" from "FILECHECKS" x2 [42102-182]
  6. 0

    Login not working after a few hours of being running

    GitHub | 2 years ago | imduffy15
    org.h2.jdbc.JdbcSQLException: Table "T_USER" not found; SQL statement: select user0_.login as login1_5_0_, user0_.created_by as created_2_5_0_, user0_.created_date as created_3_5_0_, user0_.last_modified_by as last_mod4_5_0_, user0_.last_modified_date as last_mod5_5_0_, user0_.email as email6_5_0_, user0_.first_name as first_na7_5_0_, user0_.lang_key as lang_key8_5_0_, user0_.last_name as last_nam9_5_0_, user0_.password as passwor10_5_0_ from T_USER user0_ where user0_.login=? [42102-175]
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.h2.jdbc.JdbcSQLException

    Table "QRTZ_TRIGGERS" not found; SQL statement: SELECT * FROM QRTZ_TRIGGERS WHERE SCHED_NAME = 'quartzClusterScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? [42102-170]

    at org.h2.message.DbException.getJdbcSQLException()
  2. H2 Database Engine
    JdbcConnection.prepareStatement
    1. org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
    2. org.h2.message.DbException.get(DbException.java:169)
    3. org.h2.message.DbException.get(DbException.java:146)
    4. org.h2.command.Parser.readTableOrView(Parser.java:4774)
    5. org.h2.command.Parser.readTableFilter(Parser.java:1083)
    6. org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1689)
    7. org.h2.command.Parser.parseSelectSimple(Parser.java:1796)
    8. org.h2.command.Parser.parseSelectSub(Parser.java:1683)
    9. org.h2.command.Parser.parseSelectUnion(Parser.java:1526)
    10. org.h2.command.Parser.parseSelect(Parser.java:1514)
    11. org.h2.command.Parser.parsePrepared(Parser.java:404)
    12. org.h2.command.Parser.parse(Parser.java:278)
    13. org.h2.command.Parser.parse(Parser.java:250)
    14. org.h2.command.Parser.prepareCommand(Parser.java:217)
    15. org.h2.engine.Session.prepareLocal(Session.java:414)
    16. org.h2.engine.Session.prepareCommand(Session.java:363)
    17. org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1116)
    18. org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:74)
    19. org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:267)
    19 frames
  3. log4jdbc-log4j2-jdbc4
    ConnectionSpy.prepareStatement
    1. net.sf.log4jdbc.ConnectionSpy.prepareStatement(ConnectionSpy.java:389)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:483)
    4 frames
  5. org.hibernate.engine
    AbstractProxyHandler.invoke
    1. org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.continueInvocation(ConnectionProxyHandler.java:138)
    2. org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
    2 frames
  6. com.sun.proxy
    $Proxy70.prepareStatement
    1. com.sun.proxy.$Proxy70.prepareStatement(Unknown Source)
    1 frame
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:483)
    4 frames
  8. quartz
    AttributeRestoringConnectionInvocationHandler.invoke
    1. org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:73)
    1 frame
  9. com.sun.proxy
    $Proxy92.prepareStatement
    1. com.sun.proxy.$Proxy92.prepareStatement(Unknown Source)
    1 frame
  10. quartz
    StdScheduler.getTrigger
    1. org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTrigger(StdJDBCDelegate.java:1758)
    2. org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1531)
    3. org.quartz.impl.jdbcjobstore.JobStoreSupport$12.execute(JobStoreSupport.java:1522)
    4. org.quartz.impl.jdbcjobstore.JobStoreCMT.executeInLock(JobStoreCMT.java:245)
    5. org.quartz.impl.jdbcjobstore.JobStoreSupport.executeWithoutLock(JobStoreSupport.java:3723)
    6. org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1519)
    7. org.quartz.core.QuartzScheduler.getTrigger(QuartzScheduler.java:1530)
    8. org.quartz.impl.StdScheduler.getTrigger(StdScheduler.java:508)
    8 frames
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:483)
    4 frames
  12. Spring Core
    ReflectionUtils.invokeMethod
    1. org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:209)
    1 frame
  13. Spring Context Support
    SchedulerAccessor.registerJobsAndTriggers
    1. org.springframework.scheduling.quartz.SchedulerAccessor.triggerExists(SchedulerAccessor.java:430)
    2. org.springframework.scheduling.quartz.SchedulerAccessor.addTriggerToScheduler(SchedulerAccessor.java:356)
    3. org.springframework.scheduling.quartz.SchedulerAccessor.registerJobsAndTriggers(SchedulerAccessor.java:300)
    3 frames
  14. lab.s2jh.schedule
    ExtSchedulerFactoryBean.registerJobsAndTriggers
    1. lab.s2jh.schedule.ExtSchedulerFactoryBean.registerJobsAndTriggers(ExtSchedulerFactoryBean.java:128)
    1 frame
  15. Spring Context Support
    SchedulerFactoryBean.afterPropertiesSet
    1. org.springframework.scheduling.quartz.SchedulerFactoryBean.afterPropertiesSet(SchedulerFactoryBean.java:508)
    1 frame
  16. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1572)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1510)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
    7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
    9. org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:917)
    10. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:860)
    11. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:775)
    12. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489)
    13. org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
    14. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)
    15. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1147)
    16. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    17. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
    18. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
    19. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
    20. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
    21. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
    22. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
    23. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
    24. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1418)
    25. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1159)
    26. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    27. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
    28. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
    29. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
    30. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
    31. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
    32. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:615)
    32 frames
  17. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
    2 frames
  18. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
    3 frames
  19. Glassfish Core
    HostConfig$DeployWar.run
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
    2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
    7. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)
    8. org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)
    8 frames
  20. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames