QuartzDataSourceInitializer failed due to HikariCP after changing springboot version from 1.5 to 2Spring Batch csv FIle to Mongo DB “Error creating bean mongoTemplate”entityManagerFactory NoClassDefFoundErrorerror in spring boot while using spring.io demo projectFailed to get driver instance for oracle and hikaricpFailed to determine a suitable driver classorg.springframework.beans.factory.UnsatisfiedDependencyException:oracle driver not foundSpring boot parent starter dependency overrideWant to configure Job with out DataSourceSpringboot The alias 'Int' is already mapped to the value 'java.lang.Integer'Failed to instantiate [org.elasticsearch.client.transport.TransportClient]: Factory method 'elasticsearchClient' threw exception;

Translating 'Liber'

Is it possible to (7 day) schedule sleep time of a hard drive?

How to make a setting relevant?

Can you really not move between grapples/shoves?

Subtables with equal width?

siunitx error: Invalid numerical input

Why don’t airliners have temporary liveries?

What is the advantage of carrying a tripod and ND-filters when you could use image stacking instead?

Basic question about swap/swap spreads

What's up with this leaf?

What is the purpose of building foundations?

What LISP compilers and interpreters were available for 8-bit machines?

Was the Tamarian language in "Darmok" inspired by Jack Vance's "The Asutra"?

What are the words for people who cause trouble believing they know better?

How is it possible that Gollum speaks Westron?

PL/SQL function to receive a number and return its binary format

Is it recommended against to open-source the code of a webapp?

How to pass a regex when finding a directory path in bash?

From the list of 3-tuples, how can I select tuples which contain one for more nines?

Should I "tell" my exposition or give it through dialogue?

Strange symbol for two functions

How do I write "Show, Don't Tell" as a person with Asperger Syndrome?

Etymology of 'calcit(r)are'?

Does the "6 seconds per round" rule apply to speaking/roleplaying during combat situations?



QuartzDataSourceInitializer failed due to HikariCP after changing springboot version from 1.5 to 2


Spring Batch csv FIle to Mongo DB “Error creating bean mongoTemplate”entityManagerFactory NoClassDefFoundErrorerror in spring boot while using spring.io demo projectFailed to get driver instance for oracle and hikaricpFailed to determine a suitable driver classorg.springframework.beans.factory.UnsatisfiedDependencyException:oracle driver not foundSpring boot parent starter dependency overrideWant to configure Job with out DataSourceSpringboot The alias 'Int' is already mapped to the value 'java.lang.Integer'Failed to instantiate [org.elasticsearch.client.transport.TransportClient]: Factory method 'elasticsearchClient' threw exception;






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















In springboot 2.0,
When i don't provide driver-class-name in datasource configuration, the datasource url as jdbc:sap:// is not recognised as HANA DB.



If i provide the driver-class-name, then HIKARICP complains



Caused by: java.lang.IllegalStateException: The configuration of the pool is sealed once started. Use HikariConfigMXBean for runtime changes.



This is due to quartz,



Caused by:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'quartzDataSourceInitializer' defined in class path resource [org/springframework/boot/autoconfigure/quartz/QuartzAutoConfiguration$JdbcStoreTypeConfiguration.class]: Unsatisfied dependency expressed through method 'quartzDataSourceInitializer' parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'dataSource': Could not bind properties to 'HikariDataSource' : prefix=app.datasource, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'app.datasource' to javax.sql.DataSource



ERROR



Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCreationException. Message: Error creating bean with name 'org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration$$EnhancerBySpringCGLIB$$2189fb49]: Constructor threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'xApplication': Unsatisfied dependency expressed through field 'scheduledJobManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'scheduledJobManager': Unsatisfied dependency expressed through field 'simpleScheduler'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'simpleScheduler' defined in file [/y/x/-app/service/target/classes/y/x/service/schedule/SimpleScheduler.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'quartzDataSourceInitializer' defined in class path resource [org/springframework/boot/autoconfigure/quartz/QuartzAutoConfiguration$JdbcStoreTypeConfiguration.class]: Unsatisfied dependency expressed through method 'quartzDataSourceInitializer' parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'dataSource': Could not bind properties to 'HikariDataSource' : prefix=app.datasource, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'app.datasource' to javax.sql.DataSource
2019-03-24 20:27:43 x-app WARN AnnotationConfigServletWebServerApplicationContext:557 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
2019-03-24 20:27:43 x-app INFO ConditionEvaluationReportLoggingListener:101 -



I am trying to upgrade the springboot version from 1.5 to 2.



Failed to bind properties under 'app.datasource' to javax.sql.DataSource:



Property: app.datasource.driver-class-name
Value: com.sap.db.jdbc.Driver
Origin: URL [file:target/classes/config/application-local-hana.properties]:40:34
Reason: Unable to set value for property driver-class-name


Action:



Update your application's configuration



HIKARICP should allow me to run the application.










share|improve this question




























    0















    In springboot 2.0,
    When i don't provide driver-class-name in datasource configuration, the datasource url as jdbc:sap:// is not recognised as HANA DB.



    If i provide the driver-class-name, then HIKARICP complains



    Caused by: java.lang.IllegalStateException: The configuration of the pool is sealed once started. Use HikariConfigMXBean for runtime changes.



    This is due to quartz,



    Caused by:
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'quartzDataSourceInitializer' defined in class path resource [org/springframework/boot/autoconfigure/quartz/QuartzAutoConfiguration$JdbcStoreTypeConfiguration.class]: Unsatisfied dependency expressed through method 'quartzDataSourceInitializer' parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'dataSource': Could not bind properties to 'HikariDataSource' : prefix=app.datasource, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'app.datasource' to javax.sql.DataSource



    ERROR



    Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCreationException. Message: Error creating bean with name 'org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration$$EnhancerBySpringCGLIB$$2189fb49]: Constructor threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'xApplication': Unsatisfied dependency expressed through field 'scheduledJobManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'scheduledJobManager': Unsatisfied dependency expressed through field 'simpleScheduler'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'simpleScheduler' defined in file [/y/x/-app/service/target/classes/y/x/service/schedule/SimpleScheduler.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'quartzDataSourceInitializer' defined in class path resource [org/springframework/boot/autoconfigure/quartz/QuartzAutoConfiguration$JdbcStoreTypeConfiguration.class]: Unsatisfied dependency expressed through method 'quartzDataSourceInitializer' parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'dataSource': Could not bind properties to 'HikariDataSource' : prefix=app.datasource, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'app.datasource' to javax.sql.DataSource
    2019-03-24 20:27:43 x-app WARN AnnotationConfigServletWebServerApplicationContext:557 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
    2019-03-24 20:27:43 x-app INFO ConditionEvaluationReportLoggingListener:101 -



    I am trying to upgrade the springboot version from 1.5 to 2.



    Failed to bind properties under 'app.datasource' to javax.sql.DataSource:



    Property: app.datasource.driver-class-name
    Value: com.sap.db.jdbc.Driver
    Origin: URL [file:target/classes/config/application-local-hana.properties]:40:34
    Reason: Unable to set value for property driver-class-name


    Action:



    Update your application's configuration



    HIKARICP should allow me to run the application.










    share|improve this question
























      0












      0








      0








      In springboot 2.0,
      When i don't provide driver-class-name in datasource configuration, the datasource url as jdbc:sap:// is not recognised as HANA DB.



      If i provide the driver-class-name, then HIKARICP complains



      Caused by: java.lang.IllegalStateException: The configuration of the pool is sealed once started. Use HikariConfigMXBean for runtime changes.



      This is due to quartz,



      Caused by:
      org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'quartzDataSourceInitializer' defined in class path resource [org/springframework/boot/autoconfigure/quartz/QuartzAutoConfiguration$JdbcStoreTypeConfiguration.class]: Unsatisfied dependency expressed through method 'quartzDataSourceInitializer' parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'dataSource': Could not bind properties to 'HikariDataSource' : prefix=app.datasource, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'app.datasource' to javax.sql.DataSource



      ERROR



      Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCreationException. Message: Error creating bean with name 'org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration$$EnhancerBySpringCGLIB$$2189fb49]: Constructor threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'xApplication': Unsatisfied dependency expressed through field 'scheduledJobManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'scheduledJobManager': Unsatisfied dependency expressed through field 'simpleScheduler'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'simpleScheduler' defined in file [/y/x/-app/service/target/classes/y/x/service/schedule/SimpleScheduler.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'quartzDataSourceInitializer' defined in class path resource [org/springframework/boot/autoconfigure/quartz/QuartzAutoConfiguration$JdbcStoreTypeConfiguration.class]: Unsatisfied dependency expressed through method 'quartzDataSourceInitializer' parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'dataSource': Could not bind properties to 'HikariDataSource' : prefix=app.datasource, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'app.datasource' to javax.sql.DataSource
      2019-03-24 20:27:43 x-app WARN AnnotationConfigServletWebServerApplicationContext:557 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
      2019-03-24 20:27:43 x-app INFO ConditionEvaluationReportLoggingListener:101 -



      I am trying to upgrade the springboot version from 1.5 to 2.



      Failed to bind properties under 'app.datasource' to javax.sql.DataSource:



      Property: app.datasource.driver-class-name
      Value: com.sap.db.jdbc.Driver
      Origin: URL [file:target/classes/config/application-local-hana.properties]:40:34
      Reason: Unable to set value for property driver-class-name


      Action:



      Update your application's configuration



      HIKARICP should allow me to run the application.










      share|improve this question














      In springboot 2.0,
      When i don't provide driver-class-name in datasource configuration, the datasource url as jdbc:sap:// is not recognised as HANA DB.



      If i provide the driver-class-name, then HIKARICP complains



      Caused by: java.lang.IllegalStateException: The configuration of the pool is sealed once started. Use HikariConfigMXBean for runtime changes.



      This is due to quartz,



      Caused by:
      org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'quartzDataSourceInitializer' defined in class path resource [org/springframework/boot/autoconfigure/quartz/QuartzAutoConfiguration$JdbcStoreTypeConfiguration.class]: Unsatisfied dependency expressed through method 'quartzDataSourceInitializer' parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'dataSource': Could not bind properties to 'HikariDataSource' : prefix=app.datasource, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'app.datasource' to javax.sql.DataSource



      ERROR



      Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCreationException. Message: Error creating bean with name 'org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration$$EnhancerBySpringCGLIB$$2189fb49]: Constructor threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'xApplication': Unsatisfied dependency expressed through field 'scheduledJobManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'scheduledJobManager': Unsatisfied dependency expressed through field 'simpleScheduler'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'simpleScheduler' defined in file [/y/x/-app/service/target/classes/y/x/service/schedule/SimpleScheduler.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'quartzDataSourceInitializer' defined in class path resource [org/springframework/boot/autoconfigure/quartz/QuartzAutoConfiguration$JdbcStoreTypeConfiguration.class]: Unsatisfied dependency expressed through method 'quartzDataSourceInitializer' parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'dataSource': Could not bind properties to 'HikariDataSource' : prefix=app.datasource, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'app.datasource' to javax.sql.DataSource
      2019-03-24 20:27:43 x-app WARN AnnotationConfigServletWebServerApplicationContext:557 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
      2019-03-24 20:27:43 x-app INFO ConditionEvaluationReportLoggingListener:101 -



      I am trying to upgrade the springboot version from 1.5 to 2.



      Failed to bind properties under 'app.datasource' to javax.sql.DataSource:



      Property: app.datasource.driver-class-name
      Value: com.sap.db.jdbc.Driver
      Origin: URL [file:target/classes/config/application-local-hana.properties]:40:34
      Reason: Unable to set value for property driver-class-name


      Action:



      Update your application's configuration



      HIKARICP should allow me to run the application.







      spring-boot hikaricp quartz






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 24 at 15:30









      BishwaBishwa

      12




      12






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55325390%2fquartzdatasourceinitializer-failed-due-to-hikaricp-after-changing-springboot-ver%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55325390%2fquartzdatasourceinitializer-failed-due-to-hikaricp-after-changing-springboot-ver%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript