org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFa ctory': Invocation of init method failed; nested exception is org.hibernate.MappingException: An association from the table generic_market_data_event refers to an unmapped class: com.algoTrader.entity.marketData.MarketDataEventDefinitionImpl

Google Groups | Clebson Derivan | 4 years ago
  1. 0

    Error running CRUD app

    Google Groups | 4 years ago | Clebson Derivan
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFa ctory': Invocation of init method failed; nested exception is org.hibernate.MappingException: An association from the table generic_market_data_event refers to an unmapped class: com.algoTrader.entity.marketData.MarketDataEventDefinitionImpl
  2. 0

    How do I fix the org.springframework.beans.factory.BeanCreationException error in my Grails application?

    Stack Overflow | 3 years ago | Chris
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user 'dev'.)
  3. 0

    Grails UserCredentialsDataSourceAdapter configuration issue

    Stack Overflow | 5 years ago | M Sidd
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is java.lang.NullPointerException: Cannot get property 'config' on null object
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Grails DataSource Exception

    Stack Overflow | 5 years ago | skaz
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource': Cannot resolve reference to bean 'dataSourceUnproxied' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceUnproxied': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'maxActive' of bean class [org.springframework.jdbc.datasource.DriverManagerDataSource]: Bean property 'maxActive' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
  6. 0

    Discriminator issue in inheritance mapping of Grails

    Stack Overflow | 5 years ago | Đinh Hồng Châu
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.MappingException: No discriminator found for edu.test.B1. Discriminator is needed when 'single-table-per-hierarchy' is used and a class has subclasses

    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.hibernate.MappingException

      An association from the table generic_market_data_event refers to an unmapped class: com.algoTrader.entity.marketDat a.MarketDataEventDefinitionImpl

      at org.grails.tomcat.TomcatServer.start()
    2. org.grails.tomcat
      TomcatServer.start
      1. org.grails.tomcat.TomcatServer.start(TomcatServer.groovy:212)
      1 frame
    3. grails.web.container
      EmbeddableServer$start.call
      1. grails.web.container.EmbeddableServer$start.call(Unknown Source)
      1 frame
    4. Unknown
      RunApp$_run_closure1.doCall
      1. _GrailsRun$_run_closure5_closure12.doCall(_GrailsRun.groovy:158)
      2. _GrailsRun$_run_closure5_closure12.doCall(_GrailsRun.groovy)
      3. _GrailsSettings$_run_closure10.doCall(_GrailsSettings.groovy:280)
      4. _GrailsSettings$_run_closure10.call(_GrailsSettings.groovy)
      5. _GrailsRun$_run_closure5.doCall(_GrailsRun.groovy:149)
      6. _GrailsRun$_run_closure5.call(_GrailsRun.groovy)
      7. _GrailsRun.runInline(_GrailsRun.groovy:116)
      8. _GrailsRun.this$4$runInline(_GrailsRun.groovy)
      9. _GrailsRun$_run_closure1.doCall(_GrailsRun.groovy:59)
      10. RunApp$_run_closure1.doCall(RunApp.groovy:33)
      10 frames
    5. gant
      Gant.executeTargets
      1. gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
      2. gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
      3. gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
      4. gant.Gant.withBuildListeners(Gant.groovy:427)
      5. gant.Gant.this$2$withBuildListeners(Gant.groovy)
      6. gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
      7. gant.Gant.dispatch(Gant.groovy:415)
      8. gant.Gant.this$2$dispatch(Gant.groovy)
      9. gant.Gant.invokeMethod(Gant.groovy)
      10. gant.Gant.executeTargets(Gant.groovy:590)
      11. gant.Gant.executeTargets(Gant.groovy:589)
      11 frames
    6. Maven plugin for GRAILS applications
      GrailsRunAppMojo.execute
      1. org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:286)
      2. org.grails.maven.plugin.GrailsRunAppMojo.execute(GrailsRunAppMojo.java:35)
      2 frames
    7. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      1 frame
    8. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
      3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
      4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      8 frames
    9. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      1 frame
    10. org.apache.maven
      CompatibleMain.main
      1. org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      1 frame
    11. Plexus
      Launcher.main
      1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      4 frames