JHipster Installation Error: Cannot launch the app -


everything unto mvn spring-boot:run fine. build showing success i'm getting these exceptions.

how can them fixed? ideas?

myapplication whitedev$ mvn spring-boot:run [info] scanning projects... [info]                                                                          [info] ------------------------------------------------------------------------ [info] building shoppingcart 0.0.1-snapshot [info] ------------------------------------------------------------------------ [info]  [info] >>> spring-boot-maven-plugin:1.2.3.release:run (default-cli) @ shoppingcart >>> u[info]  [info] --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ shoppingcart --- [info]  [info] --- yeoman-maven-plugin:0.4:build (run-grunt) @ shoppingcart --- [info] node version : uv0.10.29 [info] npm version : 2.0.0-alpha-5 [info] -------------------------------------- [info]          npm install [info] -------------------------------------- npm warn package.json karma-chrome-launcher@0.1.7 no readme data npm warn package.json karma-phantomjs-launcher@0.1.4 no readme data [info] bower version : 1.4.1 [info] -------------------------------------- [info]          bower install --no-color [info] -------------------------------------- [info] grunt version : grunt-cli v0.1.13 grunt v0.4.5 [info] -------------------------------------- [info]          grunt compass:server --force [info] -------------------------------------- running "compass:server" (compass) task warning: couldn't find `compass` binary. make sure it's installed , in $path used --force, continuing. warning: need have ruby , compass installed , in system path task work. more info: https://github.com/gruntjs/grunt-contrib-compass used --force, continuing.  done, warnings.   execution time (2015-06-03 00:53:42 utc) loading tasks   46ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 69% compass:server  21ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 31% total 67ms  [info]  [info] --- maven-resources-plugin:2.6:resources (default-resources) @ shoppingcart --- [info] using 'utf-8' encoding copy filtered resources. [info] copying 4 resources [info] copying 12 resources [info]  [info] --- maven-compiler-plugin:3.1:compile (default-compile) @ shoppingcart --- [info] changes detected - recompiling module! [info] compiling 82 source files /users/whitedev/myapplication/target/classes [info]  [info] --- maven-resources-plugin:2.6:testresources (default-testresources) @ shoppingcart --- [info] using 'utf-8' encoding copy filtered resources. [info] copying 3 resources [info]  [info] --- maven-compiler-plugin:3.1:testcompile (default-testcompile) @ shoppingcart --- [info] nothing compile - classes date [info]  [info] <<< spring-boot-maven-plugin:1.2.3.release:run (default-cli) @ shoppingcart <<< [info]  [info] --- spring-boot-maven-plugin:1.2.3.release:run (default-cli) @ shoppingcart --- [info] attaching agents: [] listening transport dt_socket @ address: 5005 [info] com.myapp.shoppingcart.application - starting application on ronys-mbp.home pid 1262 (/users/whitedev/myapplication/target/classes started whitedev in /users/whitedev/myapplication) [debug] com.myapp.shoppingcart.application - running spring boot v1.2.3.release, spring v4.1.6.release [debug] org.jboss.logging - logging provider: org.jboss.logging.slf4jloggerprovider [debug] com.myapp.shoppingcart.config.asyncconfiguration - creating async task executor [debug] com.myapp.shoppingcart.config.metricsconfiguration - registering jvm gauges [info] com.myapp.shoppingcart.config.metricsconfiguration - initializing metrics jmx reporting [debug] com.myapp.shoppingcart.config.databaseconfiguration - configuring datasource [error] org.springframework.boot.context.embedded.tomcat.tomcatstarter - error starting tomcat context: org.springframework.beans.factory.beancreationexception [warn] org.springframework.boot.context.embedded.annotationconfigembeddedwebapplicationcontext - exception encountered during context initialization - cancelling refresh attempt org.springframework.context.applicationcontextexception: unable start embedded container; nested exception org.springframework.boot.context.embedded.embeddedservletcontainerexception: unable start embedded tomcat     @ org.springframework.boot.context.embedded.embeddedwebapplicationcontext.onrefresh(embeddedwebapplicationcontext.java:133) [spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.context.support.abstractapplicationcontext.refresh(abstractapplicationcontext.java:474) ~[spring-context-4.1.6.release.jar:4.1.6.release]     @ org.springframework.boot.context.embedded.embeddedwebapplicationcontext.refresh(embeddedwebapplicationcontext.java:118) [spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.boot.springapplication.refresh(springapplication.java:686) [spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.boot.springapplication.run(springapplication.java:320) [spring-boot-1.2.3.release.jar:1.2.3.release]     @ com.myapp.shoppingcart.application.main(application.java:72) [classes/:na] caused by: org.springframework.boot.context.embedded.embeddedservletcontainerexception: unable start embedded tomcat     @ org.springframework.boot.context.embedded.tomcat.tomcatembeddedservletcontainer.initialize(tomcatembeddedservletcontainer.java:98) ~[spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.boot.context.embedded.tomcat.tomcatembeddedservletcontainer.<init>(tomcatembeddedservletcontainer.java:75) ~[spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.boot.context.embedded.tomcat.tomcatembeddedservletcontainerfactory.gettomcatembeddedservletcontainer(tomcatembeddedservletcontainerfactory.java:378) ~[spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.boot.context.embedded.tomcat.tomcatembeddedservletcontainerfactory.getembeddedservletcontainer(tomcatembeddedservletcontainerfactory.java:155) ~[spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.boot.context.embedded.embeddedwebapplicationcontext.createembeddedservletcontainer(embeddedwebapplicationcontext.java:157) [spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.boot.context.embedded.embeddedwebapplicationcontext.onrefresh(embeddedwebapplicationcontext.java:130) [spring-boot-1.2.3.release.jar:1.2.3.release]     ... 5 common frames omitted caused by: org.springframework.beans.factory.beancreationexception: error creating bean name 'org.springframework.security.config.annotation.web.configuration.websecurityconfiguration': injection of autowired dependencies failed; nested exception org.springframework.beans.factory.beancreationexception: not autowire method: public void org.springframework.security.config.annotation.web.configuration.websecurityconfiguration.setfilterchainproxysecurityconfigurer(org.springframework.security.config.annotation.objectpostprocessor,java.util.list) throws java.lang.exception; nested exception org.springframework.beans.factory.beanexpressionexception: expression parsing failed; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'securityconfiguration': injection of autowired dependencies failed; nested exception org.springframework.beans.factory.beancreationexception: not autowire field: private org.springframework.security.core.userdetails.userdetailsservice com.myapp.shoppingcart.config.securityconfiguration.userdetailsservice; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'userdetailsservice': injection of autowired dependencies failed; nested exception org.springframework.beans.factory.beancreationexception: not autowire field: private com.myapp.shoppingcart.repository.userrepository com.myapp.shoppingcart.security.userdetailsservice.userrepository; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'userrepository': cannot create inner bean '(inner bean)#34eb3484' of type [org.springframework.orm.jpa.sharedentitymanagercreator] while setting bean property 'entitymanager'; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name '(inner bean)#34eb3484': cannot resolve reference bean 'entitymanagerfactory' while setting constructor argument; nested exception org.springframework.beans.factory.unsatisfieddependencyexception: error creating bean name 'liquibase' defined in class path resource [com/myapp/shoppingcart/config/databaseconfiguration.class]: unsatisfied dependency expressed through constructor argument index 0 of type [javax.sql.datasource]: : error creating bean name 'datasource' defined in class path resource [com/myapp/shoppingcart/config/databaseconfiguration.class]: bean instantiation via factory method failed; nested exception org.springframework.beans.beaninstantiationexception: failed instantiate [javax.sql.datasource]: factory method 'datasource' threw exception; nested exception com.zaxxer.hikari.pool.poolinitializationexception: exception during pool initialization; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'datasource' defined in class path resource [com/myapp/shoppingcart/config/databaseconfiguration.class]: bean instantiation via factory method failed; nested exception org.springframework.beans.beaninstantiationexception: failed instantiate [javax.sql.datasource]: factory method 'datasource' threw exception; nested exception com.zaxxer.hikari.pool.poolinitializationexception: exception during pool initialization     @ org.springframework.beans.factory.annotation.autowiredannotationbeanpostprocessor.postprocesspropertyvalues(autowiredannotationbeanpostprocessor.java:334) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.populatebean(abstractautowirecapablebeanfactory.java:1210) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:537) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:476) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:303) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:230) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:299) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:194) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.beans.factory.support.constructorresolver.instantiateusingfactorymethod(constructorresolver.java:368) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.instantiateusingfactorymethod(abstractautowirecapablebeanfactory.java:1119) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbeaninstance(abstractautowirecapablebeanfactory.java:1014) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:504) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:476) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:303) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:230) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:299) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:199) ~[spring-beans-4.1.6.release.jar:4.1.6.release]     @ org.springframework.boot.context.embedded.servletcontextinitializerbeans.getorderedbeansoftype(servletcontextinitializerbeans.java:209) ~[spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.boot.context.embedded.servletcontextinitializerbeans.addasregistrationbean(servletcontextinitializerbeans.java:165) ~[spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.boot.context.embedded.servletcontextinitializerbeans.addasregistrationbean(servletcontextinitializerbeans.java:160) ~[spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.boot.context.embedded.servletcontextinitializerbeans.addadaptablebeans(servletcontextinitializerbeans.java:143) ~[spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.boot.context.embedded.servletcontextinitializerbeans.<init>(servletcontextinitializerbeans.java:74) ~[spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.boot.context.embedded.embeddedwebapplicationcontext.getservletcontextinitializerbeans(embeddedwebapplicationcontext.java:234) [spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.boot.context.embedded.embeddedwebapplicationcontext.selfinitialize(embeddedwebapplicationcontext.java:221) [spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.boot.context.embedded.embeddedwebapplicationcontext.access$000(embeddedwebapplicationcontext.java:84) [spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.boot.context.embedded.embeddedwebapplicationcontext$1.onstartup(embeddedwebapplicationcontext.java:206) ~[spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.springframework.boot.context.embedded.tomcat.tomcatstarter.onstartup(tomcatstarter.java:54) ~[spring-boot-1.2.3.release.jar:1.2.3.release]     @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5151) ~[tomcat-embed-core-8.0.20.jar:8.0.20]     @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150) ~[tomcat-embed-core-8.0.20.jar:8.0.20]     @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1409) ~[tomcat-embed-core-8.0.20.jar:8.0.20]     @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1399) ~[tomcat-embed-core-8.0.20.jar:8.0.20]     @ java.util.concurrent.futuretask.run(futuretask.java:266) ~[na:1.8.0_45]     @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) ~[na:1.8.0_45]     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) ~[na:1.8.0_45]     @ java.lang.thread.run(thread.java:745) ~[na:1.8.0_45] caused by: org.springframework.beans.factory.beancreationexception: not autowire method: public void org.springframework.security.config.annotation.web.configuration.websecurityconfiguration.setfilterchainproxysecurityconfigurer(org.springframework.security.config.annotation.objectpostprocessor,java.util.list) throws java.lang.exception; nested exception org.springframework.beans.factory.beanexpressionexception: expression parsing failed; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'securityconfiguration': injection of autowired dependencies failed; nested exception org.springframework.beans.factory.beancreationexception: not autowire field: private org.springframework.security.core.userdetails.userdetailsservice com.myapp.shoppingcart.config.securityconfiguration.userdetailsservice; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'userdetailsservice': injection of autowired dependencies failed; nested exception org.springframework.beans.factory.beancreationexception: not autowire field: private com.myapp.shoppingcart.repository.userrepository com.myapp.shoppingcart.security.userdetailsservice.userrepository; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'userrepository': cannot create inner bean '(inner bean)#34eb3484' of type [org.springframework.orm.jpa.sharedentitymanagercreator] while setting bean property 'entitymanager'; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name '(inner bean)#34eb3484': cannot resolve reference bean 'entitymanagerfactory' while setting constructor argument; nested exception org.springframework.beans.factory.unsatisfieddependencyexception: error creating bean name 'liquibase' defined in class path resource [com/myapp/shoppingcart/config/databaseconfiguration.class]: unsatisfied dependency expressed through constructor argument index 0 of type [javax.sql.datasource]: : error creating bean name 'datasource' defined in class path resource [com/myapp/shoppingcart/config/databaseconfiguration.class]: bean instantiation via factory method failed; nested exception org.springframework.beans.beaninstantiationexception: failed instantiate [javax.sql.datasource]: factory method 'datasource' threw exception; nested exception com.zaxxer.hikari.pool.poolinitializationexception: exception during pool initialization; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'datasource' defined in class path resource [com/myapp/shoppingcart/config/databaseconfiguration.class]: bean instantiation via factory method failed; nested exception org.springframework.beans.beaninstantiationexception: failed instantiate [ caused by: org.springframework.beans.factory.beancreationexception: error creating bean name 'userrepository': cannot create inner bean '(inner bean)#34eb3484' of type [org.springframework.orm.jpa.sharedentitymanagercreator] while setting bean property 'entitymanager'; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name '(inner bean)#34eb3484': cannot resolve reference bean 'entitymanagerfactory' while setting constructor argument; nested exception org.springframework.beans.factory.unsatisfieddependencyexception: error creating bean name 'liquibase' defined in class path resource [com/myapp/shoppingcart/config/databaseconfiguration.class]: unsatisfied dependency expressed through constructor argument index 0 of type [javax.sql.datasource]: : error creating bean name 'datasource' defined in class path resource [com/myapp/shoppingcart/config/databaseconfiguration.class]: bean instantiation via factory method failed; nested exception org.springframework.beans.beaninstantiationexception: failed instantiate [javax.sql.datasource]: factory method 'datasource' threw exception; nested exception com.zaxxer.hikari.pool.poolinitializationexception: exception during pool initialization; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'datasource' defined in class path resource [com/myapp/shoppingcart/config/databaseconfiguration.class]: bean instantiation via factory method failed; nested exception org.springframework.beans.beaninstantiationexception: failed instantiate [javax.sql.datasource]: factory method 'datasource' threw exception; nested exception com.zaxxer.hikari.pool.poolinitializationexception: exception during pool initialization     @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolveinnerbean(beandefinitionvalueresolver.java:313)      ... 77 more caused by: org.springframework.beans.factory.beancreationexception: error creating bean name '(inner bean)#34eb3484': cannot resolve reference bean 'entitymanagerfactory' while setting constructor argument; nested exception org.springframework.beans.factory.unsatisfieddependencyexception: error creating bean name 'liquibase' defined in class path resource [com/myapp/shoppingcart/config/databaseconfiguration.class]: unsatisfied dependency expressed through constructor argument index 0 of type [javax.sql.datasource]: : error creating bean name 'datasource' defined in class path resource [com/myapp/shoppingcart/config/databaseconfiguration.class]: bean instantiation via factory method failed; nested exception org.springframework.beans.beaninstantiationexception: failed instantiate [javax.sql.datasource]: factory method 'datasource' threw exception; nested exception com.zaxxer.hikari.pool.poolinitializationexception: exception during pool initialization; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'datasource' defined in class path resource [com/myapp/shoppingcart/config/databaseconfiguration.class]: bean instantiation via factory method failed; nested exception org.springframework.beans.beaninstantiationexception: failed instantiate [javax.sql.datasource]: factory method 'datasource' threw exception; nested exception com.zaxxer.hikari.pool.poolinitializationexception: exception during pool initialization     @ org.springframework.beans.factory.support.beandefinitio     ... 90 more caused by: org.springframework.beans.factory.unsatisfieddependencyexception: error creating bean name 'liquibase' defined in class path resource [com/myapp/shoppingcart/config/databaseconfiguration.class]: unsatisfied dependency expressed through constructor argument index 0 of type [javax.sql.datasource]: : error creating bean name 'datasource' defined in class path resource [com/myapp/shoppingcart/config/databaseconfiguration.class]: bean instantiation via factory method failed; nested exception org.springframework.beans.beaninstantiationexception: failed instantiate [javax.sql.datasource]: factory method 'datasource' threw exception; nested exception com.zaxxer.hikari.pool.poolinitializationexception: exception during pool initialization; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'datasource' defined in class path resource [com/myapp/shoppingcart/config/databaseconfiguration.class]: bean instantiation via factory method failed; nested exception org.springframework.beans.beaninstantiationexception: failed instantiate [javax.sql.datasource]: factory method 'datasource' threw exception; nested exception com.zaxxer.hikari.pool.poolinitializationexception: exception during pool initialization     @ org.springframework.beans.factory.support.constructorresolver.createargumentarray(constructorresolver.java:749)      ... 98 more caused by: org.springframework.beans.factory.beancreationexception: error creating bean name 'datasource' defined in class path resource [com/myapp/shoppingcart/config/databaseconfiguration.class]: bean instantiation via factory method failed; nested exception org.springframework.beans.beaninstantiationexception: failed instantiate [javax.sql.datasource]: factory method 'datasource' threw exception; nested exception com.zaxxer.hikari.pool.poolinitializationexception: exception during pool initialization     @ org.springframework.beans.factory.support.constructorresolver.instantiateusingfactorymethod(constructorresolver.java:599)  caused by: org.springframework.beans.beaninstantiationexception: failed instantiate [javax.sql.datasource]: factory method 'datasource' threw exception; nested exception com.zaxxer.hikari.pool.poolinitializationexception: exception during pool initialization     @ org.springframework.beans.factory.support.simpleinstantiationstrategy.instantiate(simpleinstantiationstrategy.java:189)     @ org.springframework.beans.factory.support.constructorresolver.instantiateusingfactorymethod(constructorresolver.java:588)     ... 123 more caused by: com.zaxxer.hikari.pool.poolinitializationexception: exception during pool initialization     @ com.zaxxer.hikari.pool.basehikaripool.initializeconnections(basehikaripool.java:542)  caused by: java.sql.sqlexception: access denied user 'root'@'127.0.0.1' (using password: no)     @ com.mysql.jdbc.sqlerror.createsqlexception(sqlerror.java:996)     @ com.mysql.jdbc.mysqlio.checkerrorpacket(mysqlio.java:3887)  [info] ------------------------------------------------------------------------ [info] build success [info] ------------------------------------------------------------------------ [info] total time: 27.584s [info] finished at: tue jun 02 20:53:53 edt 2015 [info] final memory: 35m/344m 

reading error message: caused by: java.sql.sqlexception: access denied user 'root'@'127.0.0.1' (using password: no) @ com.mysql.jdbc.sqlerror.createsqlexception(sqlerror.java:996)

you don't have right credentials connect mysql.

this configured in application.yml file (read documentation learn profiles, you).


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -