最后一步運(yùn)行錯(cuò)誤,網(wǎng)頁(yè)打不開(kāi)
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