C:\Users\32648\.jdks\corretto-1.8.0_352\bin\java.exe -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always "-javaagent:S:\Program Files\JetBrains\IntelliJ IDEA 2021.2.2\lib\idea_rt.jar=59089:S:\Program Files\JetBrains\IntelliJ IDEA 2021.2.2\bin" -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\charsets.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\ext\access-bridge-64.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\ext\cldrdata.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\ext\dnsns.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\ext\jaccess.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\ext\jfxrt.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\ext\localedata.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\ext\nashorn.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\ext\sunec.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\ext\sunjce_provider.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\ext\sunmscapi.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\ext\sunpkcs11.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\ext\zipfs.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\jce.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\jfr.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\jfxswt.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\jsse.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\management-agent.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\resources.jar;C:\Users\32648\.jdks\corretto-1.8.0_352\jre\lib\rt.jar;D:\1_source\本科\大四\毕业设计\TrainBookingSystem\target\classes;S:\apache-maven-3.9.1-bin\repository\org\springframework\boot\spring-boot-starter-freemarker\2.6.13\spring-boot-starter-freemarker-2.6.13.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\boot\spring-boot-starter\2.6.13\spring-boot-starter-2.6.13.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\boot\spring-boot\2.6.13\spring-boot-2.6.13.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\boot\spring-boot-autoconfigure\2.6.13\spring-boot-autoconfigure-2.6.13.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\boot\spring-boot-starter-logging\2.6.13\spring-boot-starter-logging-2.6.13.jar;S:\apache-maven-3.9.1-bin\repository\ch\qos\logback\logback-classic\1.2.11\logback-classic-1.2.11.jar;S:\apache-maven-3.9.1-bin\repository\ch\qos\logback\logback-core\1.2.11\logback-core-1.2.11.jar;S:\apache-maven-3.9.1-bin\repository\org\apache\logging\log4j\log4j-to-slf4j\2.17.2\log4j-to-slf4j-2.17.2.jar;S:\apache-maven-3.9.1-bin\repository\org\apache\logging\log4j\log4j-api\2.17.2\log4j-api-2.17.2.jar;S:\apache-maven-3.9.1-bin\repository\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;S:\apache-maven-3.9.1-bin\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;S:\apache-maven-3.9.1-bin\repository\org\yaml\snakeyaml\1.29\snakeyaml-1.29.jar;S:\apache-maven-3.9.1-bin\repository\org\freemarker\freemarker\2.3.31\freemarker-2.3.31.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\spring-context-support\5.3.23\spring-context-support-5.3.23.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\spring-beans\5.3.23\spring-beans-5.3.23.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\spring-context\5.3.23\spring-context-5.3.23.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\boot\spring-boot-starter-web\2.6.13\spring-boot-starter-web-2.6.13.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\boot\spring-boot-starter-json\2.6.13\spring-boot-starter-json-2.6.13.jar;S:\apache-maven-3.9.1-bin\repository\com\fasterxml\jackson\core\jackson-databind\2.13.4.2\jackson-databind-2.13.4.2.jar;S:\apache-maven-3.9.1-bin\repository\com\fasterxml\jackson\core\jackson-annotations\2.13.4\jackson-annotations-2.13.4.jar;S:\apache-maven-3.9.1-bin\repository\com\fasterxml\jackson\core\jackson-core\2.13.4\jackson-core-2.13.4.jar;S:\apache-maven-3.9.1-bin\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.4\jackson-datatype-jdk8-2.13.4.jar;S:\apache-maven-3.9.1-bin\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.4\jackson-datatype-jsr310-2.13.4.jar;S:\apache-maven-3.9.1-bin\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.4\jackson-module-parameter-names-2.13.4.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\boot\spring-boot-starter-tomcat\2.6.13\spring-boot-starter-tomcat-2.6.13.jar;S:\apache-maven-3.9.1-bin\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.68\tomcat-embed-core-9.0.68.jar;S:\apache-maven-3.9.1-bin\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.68\tomcat-embed-el-9.0.68.jar;S:\apache-maven-3.9.1-bin\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.68\tomcat-embed-websocket-9.0.68.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\spring-web\5.3.23\spring-web-5.3.23.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\spring-webmvc\5.3.23\spring-webmvc-5.3.23.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\spring-aop\5.3.23\spring-aop-5.3.23.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\spring-expression\5.3.23\spring-expression-5.3.23.jar;S:\apache-maven-3.9.1-bin\repository\org\mybatis\spring\boot\mybatis-spring-boot-starter\2.2.2\mybatis-spring-boot-starter-2.2.2.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\boot\spring-boot-starter-jdbc\2.6.13\spring-boot-starter-jdbc-2.6.13.jar;S:\apache-maven-3.9.1-bin\repository\com\zaxxer\HikariCP\4.0.3\HikariCP-4.0.3.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\spring-jdbc\5.3.23\spring-jdbc-5.3.23.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\spring-tx\5.3.23\spring-tx-5.3.23.jar;S:\apache-maven-3.9.1-bin\repository\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\2.2.2\mybatis-spring-boot-autoconfigure-2.2.2.jar;S:\apache-maven-3.9.1-bin\repository\org\mybatis\mybatis\3.5.9\mybatis-3.5.9.jar;S:\apache-maven-3.9.1-bin\repository\org\mybatis\mybatis-spring\2.0.7\mybatis-spring-2.0.7.jar;S:\apache-maven-3.9.1-bin\repository\com\mysql\mysql-connector-j\8.0.31\mysql-connector-j-8.0.31.jar;S:\apache-maven-3.9.1-bin\repository\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\spring-core\5.3.23\spring-core-5.3.23.jar;S:\apache-maven-3.9.1-bin\repository\org\springframework\spring-jcl\5.3.23\spring-jcl-5.3.23.jar com.hlx.trainbookingsystem.TrainBookingSystemApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.6.13)
2023-04-10 11:16:17.365 INFO 96984 --- [ main] c.h.t.TrainBookingSystemApplication : Starting TrainBookingSystemApplication using Java 1.8.0_352 on hwx with PID 96984 (D:\1_source\本科\大四\毕业设计\TrainBookingSystem\target\classes started by 32648 in D:\1_source\本科\大四\毕业设计\TrainBookingSystem)
2023-04-10 11:16:17.369 INFO 96984 --- [ main] c.h.t.TrainBookingSystemApplication : No active profile set, falling back to 1 default profile: "default"
2023-04-10 11:16:17.972 WARN 96984 --- [ main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.meituan.hotel.Dao]' package. Please check your configuration.
2023-04-10 11:16:18.283 INFO 96984 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2023-04-10 11:16:18.284 INFO 96984 --- [ main] o.a.catalina.core.AprLifecycleListener : Loaded Apache Tomcat Native library [1.2.35] using APR version [1.7.0].
2023-04-10 11:16:18.284 INFO 96984 --- [ main] o.a.catalina.core.AprLifecycleListener : APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true].
2023-04-10 11:16:18.284 INFO 96984 --- [ main] o.a.catalina.core.AprLifecycleListener : APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2023-04-10 11:16:18.287 INFO 96984 --- [ main] o.a.catalina.core.AprLifecycleListener : OpenSSL successfully initialized [OpenSSL 1.1.1q 5 Jul 2022]
2023-04-10 11:16:18.293 INFO 96984 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2023-04-10 11:16:18.294 INFO 96984 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.68]
2023-04-10 11:16:18.392 INFO 96984 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2023-04-10 11:16:18.392 INFO 96984 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 968 ms
2023-04-10 11:16:18.580 INFO 96984 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html]
2023-04-10 11:16:18.642 WARN 96984 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class
2023-04-10 11:16:18.643 INFO 96984 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2023-04-10 11:16:18.656 INFO 96984 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2023-04-10 11:16:18.672 ERROR 96984 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
Action:
Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
进程已结束,退出代码为 1
这是为什么呢?