数据库驱动异常:不接受的url异常

不接受的url异常:Driver com.mysql.jdbc.Driver claims to not accept jdbcUrl,说明是yml文件的数据库url问题

仔细检查url是否有编写错误即可。

D:\softTool\Java\jdk1.8.0_281\bin\java.exe -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always "-javaagent:D:\softTool\JetBrains\IntelliJ IDEA2021.1.1\lib\idea_rt.jar=62693:D:\softTool\JetBrains\IntelliJ IDEA2021.1.1\bin" -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath D:\softTool\Java\jdk1.8.0_281\jre\lib\charsets.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\deploy.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\ext\access-bridge-64.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\ext\cldrdata.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\ext\dnsns.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\ext\jaccess.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\ext\jfxrt.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\ext\localedata.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\ext\nashorn.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\ext\sunec.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\ext\sunjce_provider.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\ext\sunmscapi.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\ext\sunpkcs11.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\ext\zipfs.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\javaws.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\jce.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\jfr.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\jfxswt.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\jsse.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\management-agent.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\plugin.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\resources.jar;D:\softTool\Java\jdk1.8.0_281\jre\lib\rt.jar;D:\code\seata-demo\order-service\target\classes;D:\softTool\apache-maven-3.6.1\mvn_repo\com\alibaba\cloud\spring-cloud-starter-alibaba-nacos-discovery\2.2.5.RELEASE\spring-cloud-starter-alibaba-nacos-discovery-2.2.5.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\alibaba\cloud\spring-cloud-alibaba-commons\2.2.5.RELEASE\spring-cloud-alibaba-commons-2.2.5.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\alibaba\nacos\nacos-client\1.4.1\nacos-client-1.4.1.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\alibaba\nacos\nacos-common\1.4.1\nacos-common-1.4.1.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\commons-io\commons-io\2.2\commons-io-2.2.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\apache\httpcomponents\httpasyncclient\4.1.4\httpasyncclient-4.1.4.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\apache\httpcomponents\httpcore\4.4.14\httpcore-4.4.14.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\apache\httpcomponents\httpcore-nio\4.4.14\httpcore-nio-4.4.14.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\alibaba\nacos\nacos-api\1.4.1\nacos-api-1.4.1.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\google\guava\guava\29.0-jre\guava-29.0-jre.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\checkerframework\checker-qual\2.11.1\checker-qual-2.11.1.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\google\errorprone\error_prone_annotations\2.3.4\error_prone_annotations-2.3.4.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\commons-codec\commons-codec\1.14\commons-codec-1.14.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\fasterxml\jackson\core\jackson-core\2.11.4\jackson-core-2.11.4.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\fasterxml\jackson\core\jackson-databind\2.11.4\jackson-databind-2.11.4.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\fasterxml\jackson\core\jackson-annotations\2.11.4\jackson-annotations-2.11.4.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\io\prometheus\simpleclient\0.5.0\simpleclient-0.5.0.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\yaml\snakeyaml\1.26\snakeyaml-1.26.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\alibaba\spring\spring-context-support\1.0.10\spring-context-support-1.0.10.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\cloud\spring-cloud-commons\2.2.5.RELEASE\spring-cloud-commons-2.2.5.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\security\spring-security-crypto\5.3.8.RELEASE\spring-security-crypto-5.3.8.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\cloud\spring-cloud-context\2.2.5.RELEASE\spring-cloud-context-2.2.5.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\2.2.5.RELEASE\spring-cloud-starter-netflix-ribbon-2.2.5.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\cloud\spring-cloud-netflix-ribbon\2.2.5.RELEASE\spring-cloud-netflix-ribbon-2.2.5.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\cloud\spring-cloud-netflix-archaius\2.2.5.RELEASE\spring-cloud-netflix-archaius-2.2.5.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\cloud\spring-cloud-starter-netflix-archaius\2.2.5.RELEASE\spring-cloud-starter-netflix-archaius-2.2.5.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\netflix\ribbon\ribbon\2.3.0\ribbon-2.3.0.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\netflix\ribbon\ribbon-transport\2.3.0\ribbon-transport-2.3.0.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\javax\inject\javax.inject\1\javax.inject-1.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\netflix\ribbon\ribbon-core\2.3.0\ribbon-core-2.3.0.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\netflix\ribbon\ribbon-httpclient\2.3.0\ribbon-httpclient-2.3.0.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\netflix\servo\servo-core\0.12.21\servo-core-0.12.21.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\netflix\netflix-commons\netflix-commons-util\0.3.0\netflix-commons-util-0.3.0.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\netflix\ribbon\ribbon-loadbalancer\2.3.0\ribbon-loadbalancer-2.3.0.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\io\reactivex\rxjava\1.3.8\rxjava-1.3.8.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\boot\spring-boot-starter-web\2.3.9.RELEASE\spring-boot-starter-web-2.3.9.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\boot\spring-boot-starter\2.3.9.RELEASE\spring-boot-starter-2.3.9.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\boot\spring-boot\2.3.9.RELEASE\spring-boot-2.3.9.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\boot\spring-boot-starter-logging\2.3.9.RELEASE\spring-boot-starter-logging-2.3.9.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\apache\logging\log4j\log4j-to-slf4j\2.13.3\log4j-to-slf4j-2.13.3.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\apache\logging\log4j\log4j-api\2.13.3\log4j-api-2.13.3.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\slf4j\jul-to-slf4j\1.7.30\jul-to-slf4j-1.7.30.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\boot\spring-boot-starter-json\2.3.9.RELEASE\spring-boot-starter-json-2.3.9.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.11.4\jackson-datatype-jdk8-2.11.4.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.11.4\jackson-datatype-jsr310-2.11.4.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\fasterxml\jackson\module\jackson-module-parameter-names\2.11.4\jackson-module-parameter-names-2.11.4.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\boot\spring-boot-starter-tomcat\2.3.9.RELEASE\spring-boot-starter-tomcat-2.3.9.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\apache\tomcat\embed\tomcat-embed-core\9.0.43\tomcat-embed-core-9.0.43.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\glassfish\jakarta.el\3.0.3\jakarta.el-3.0.3.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.43\tomcat-embed-websocket-9.0.43.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\spring-web\5.2.13.RELEASE\spring-web-5.2.13.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\spring-beans\5.2.13.RELEASE\spring-beans-5.2.13.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\spring-webmvc\5.2.13.RELEASE\spring-webmvc-5.2.13.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\spring-aop\5.2.13.RELEASE\spring-aop-5.2.13.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\spring-context\5.2.13.RELEASE\spring-context-5.2.13.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\spring-expression\5.2.13.RELEASE\spring-expression-5.2.13.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\mysql\mysql-connector-java\5.1.47\mysql-connector-java-5.1.47.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\baomidou\mybatis-plus-boot-starter\3.3.0\mybatis-plus-boot-starter-3.3.0.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\baomidou\mybatis-plus\3.3.0\mybatis-plus-3.3.0.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\baomidou\mybatis-plus-extension\3.3.0\mybatis-plus-extension-3.3.0.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\baomidou\mybatis-plus-core\3.3.0\mybatis-plus-core-3.3.0.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\baomidou\mybatis-plus-annotation\3.3.0\mybatis-plus-annotation-3.3.0.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\github\jsqlparser\jsqlparser\3.1\jsqlparser-3.1.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\mybatis\mybatis\3.5.3\mybatis-3.5.3.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\mybatis\mybatis-spring\2.0.3\mybatis-spring-2.0.3.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\boot\spring-boot-autoconfigure\2.3.9.RELEASE\spring-boot-autoconfigure-2.3.9.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\boot\spring-boot-starter-jdbc\2.3.9.RELEASE\spring-boot-starter-jdbc-2.3.9.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\zaxxer\HikariCP\3.4.5\HikariCP-3.4.5.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\spring-jdbc\5.2.13.RELEASE\spring-jdbc-5.2.13.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\spring-tx\5.2.13.RELEASE\spring-tx-5.2.13.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\cloud\spring-cloud-starter-openfeign\2.2.5.RELEASE\spring-cloud-starter-openfeign-2.2.5.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\cloud\spring-cloud-starter\2.2.5.RELEASE\spring-cloud-starter-2.2.5.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\security\spring-security-rsa\1.0.9.RELEASE\spring-security-rsa-1.0.9.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\bouncycastle\bcpkix-jdk15on\1.64\bcpkix-jdk15on-1.64.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\bouncycastle\bcprov-jdk15on\1.64\bcprov-jdk15on-1.64.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\cloud\spring-cloud-openfeign-core\2.2.5.RELEASE\spring-cloud-openfeign-core-2.2.5.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\boot\spring-boot-starter-aop\2.3.9.RELEASE\spring-boot-starter-aop-2.3.9.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\aspectj\aspectjweaver\1.9.6\aspectjweaver-1.9.6.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\io\github\openfeign\form\feign-form-spring\3.8.0\feign-form-spring-3.8.0.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\io\github\openfeign\form\feign-form\3.8.0\feign-form-3.8.0.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\commons-fileupload\commons-fileupload\1.4\commons-fileupload-1.4.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\io\github\openfeign\feign-core\10.10.1\feign-core-10.10.1.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\io\github\openfeign\feign-slf4j\10.10.1\feign-slf4j-10.10.1.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\io\github\openfeign\feign-hystrix\10.10.1\feign-hystrix-10.10.1.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\netflix\archaius\archaius-core\0.7.6\archaius-core-0.7.6.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\com\netflix\hystrix\hystrix-core\1.5.18\hystrix-core-1.5.18.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\apache\commons\commons-lang3\3.4\commons-lang3-3.4.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\projectlombok\lombok\1.18.18\lombok-1.18.18.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\spring-core\5.2.13.RELEASE\spring-core-5.2.13.RELEASE.jar;D:\softTool\apache-maven-3.6.1\mvn_repo\org\springframework\spring-jcl\5.2.13.RELEASE\spring-jcl-5.2.13.RELEASE.jar cn.itcast.order.OrderApplication

. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.3.9.RELEASE)

06-20 19:58:25:133 INFO 8384 --- [ main] cn.itcast.order.OrderApplication : No active profile set, falling back to default profiles: default
06-20 19:58:25:764 INFO 8384 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=d5ec73e6-a785-33ed-8b20-ffde881e5a75
06-20 19:58:26:030 INFO 8384 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8082 (http)
06-20 19:58:26:038 INFO 8384 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
06-20 19:58:26:039 INFO 8384 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.43]
06-20 19:58:26:135 INFO 8384 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
06-20 19:58:26:135 INFO 8384 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 982 ms
_ _ |_ _ _|_. ___ _ | _
| | |\/|_)(_| | |_\ |_)||_|_\
/ |
3.3.0
06-20 19:58:27:383 WARN 8384 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
06-20 19:58:27:383 INFO 8384 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
06-20 19:58:27:387 WARN 8384 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
06-20 19:58:27:387 INFO 8384 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
06-20 19:58:27:570 INFO 8384 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
06-20 19:58:29:279 INFO 8384 --- [ main] o.s.cloud.commons.util.InetUtils : Cannot determine local hostname
06-20 19:58:29:286 INFO 8384 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'Nacos-Watch-Task-Scheduler'
06-20 19:58:30:929 INFO 8384 --- [ main] o.s.cloud.commons.util.InetUtils : Cannot determine local hostname
06-20 19:58:31:212 INFO 8384 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8082 (http) with context path ''
06-20 19:58:31:220 INFO 8384 --- [ main] c.a.c.n.registry.NacosServiceRegistry : nacos registry, DEFAULT_GROUP order-service 192.168.164.1:8082 register finished
06-20 19:58:32:875 INFO 8384 --- [ main] o.s.cloud.commons.util.InetUtils : Cannot determine local hostname
06-20 19:58:32:890 INFO 8384 --- [ main] cn.itcast.order.OrderApplication : Started OrderApplication in 12.24 seconds (JVM running for 13.805)
06-20 19:58:38:238 INFO 8384 --- [nio-8082-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
06-20 19:58:38:238 INFO 8384 --- [nio-8082-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
06-20 19:58:38:244 INFO 8384 --- [nio-8082-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 6 ms
06-20 19:58:38:278 INFO 8384 --- [nio-8082-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
06-20 19:58:38:292 ERROR 8384 --- [nio-8082-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.lang.RuntimeException: Driver com.mysql.jdbc.Driver claims to not accept jdbcUrl, jdbc:localhost:///seata_demo?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&useSSL=false] with root cause

java.lang.RuntimeException: Driver com.mysql.jdbc.Driver claims to not accept jdbcUrl, jdbc:localhost:///seata_demo?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&useSSL=false
at com.zaxxer.hikari.util.DriverDataSource.<init>(DriverDataSource.java:110) ~[HikariCP-3.4.5.jar:na]
at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:325) ~[HikariCP-3.4.5.jar:na]
at com.zaxxer.hikari.pool.PoolBase.<init>(PoolBase.java:114) ~[HikariCP-3.4.5.jar:na]
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:108) ~[HikariCP-3.4.5.jar:na]
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) ~[HikariCP-3.4.5.jar:na]
at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:261) ~[spring-jdbc-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:400) ~[spring-tx-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) ~[spring-tx-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:574) ~[spring-tx-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:361) ~[spring-tx-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:118) ~[spring-tx-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) ~[spring-aop-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691) ~[spring-aop-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at cn.itcast.order.service.impl.OrderServiceImpl$$EnhancerBySpringCGLIB$$dbce00e7.create(<generated>) ~[classes/:na]
at cn.itcast.order.web.OrderController.createOrder(OrderController.java:26) ~[classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_281]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_281]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_281]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_281]
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) ~[spring-web-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) ~[spring-web-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) ~[spring-webmvc-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878) ~[spring-webmvc-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792) ~[spring-webmvc-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) ~[spring-webmvc-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) ~[spring-webmvc-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) ~[spring-webmvc-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) ~[tomcat-embed-core-9.0.43.jar:4.0.FR]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) ~[tomcat-embed-core-9.0.43.jar:4.0.FR]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.43.jar:9.0.43]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) ~[tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684) [tomcat-embed-core-9.0.43.jar:9.0.43]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_281]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_281]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.43.jar:9.0.43]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_281]

 

posted @ 2023-06-20 20:07  xycccode  阅读(210)  评论(0编辑  收藏  举报