为了账号安全,请及时绑定邮箱和手机立即绑定

最后一步运行错误,网页打不开



2020-02-25 15:42:21.785  INFO 14724 --- [           main] com.stanproject.App                      : Starting App on wjj-PC with PID 14724 (E:\project\miaoshasha\target\classes started by wjj in E:\project\miaoshasha)

2020-02-25 15:42:21.789  INFO 14724 --- [           main] com.stanproject.App                      : No active profile set, falling back to default profiles: default

2020-02-25 15:42:26.673  INFO 14724 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8090 (http)

2020-02-25 15:42:26.696  INFO 14724 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]

2020-02-25 15:42:26.697  INFO 14724 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.29]

2020-02-25 15:42:26.852  INFO 14724 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext

2020-02-25 15:42:26.852  INFO 14724 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 4895 ms

2020-02-25 15:42:26.994  WARN 14724 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'app': Unsatisfied dependency expressed through field 'userDOMapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userDOMapper' defined in file [E:\project\miaoshasha\target\classes\com\stanproject\dao\UserDOMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Generic.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.IllegalStateException: Cannot load driver class: com.mysql.jdbc.Driver 

2020-02-25 15:42:26.999  INFO 14724 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]

2020-02-25 15:42:27.192  INFO 14724 --- [           main] ConditionEvaluationReportLoggingListener : 


Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

2020-02-25 15:42:27.201 ERROR 14724 --- [           main] o.s.boot.SpringApplication               : Application run failed


正在回答

举报

0/150
提交
取消
SpringBoot构建电商基础秒杀项目
  • 参与学习       49024    人
  • 解答问题       954    个

应用SpringBoot快速搭建拥有用户、商品、交易及秒杀活动的电商秒杀应用。

进入课程

最后一步运行错误,网页打不开

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信