spring+mybatis查询简单的demo出错

来源:11-2 使用mybatis+SpringBoot完成第一个查询demo

晓芳1

2020-07-06

都是按照老师步骤操作的,不知道哪里出了问题
"C:\Program Files\Java\jdk1.8.0_91\bin\java.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true “-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2018.3.6\lib\idea_rt.jar=56599:C:\Program Files\JetBrains\IntelliJ IDEA 2018.3.6\bin” -Dfile.encoding=UTF-8 -classpath “C:\Program Files\Java\jdk1.8.0_91\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\rt.jar;D:\axf2\AutoTest2020\chapter11\target\classes;C:\Users\Administrator.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.3.1.RELEASE\spring-boot-autoconfigure-2.3.1.RELEASE.jar;C:\Users\Administrator.m2\repository\org\springframework\spring-context\5.2.7.RELEASE\spring-context-5.2.7.RELEASE.jar;C:\Users\Administrator.m2\repository\org\springframework\boot\spring-boot\2.3.1.RELEASE\spring-boot-2.3.1.RELEASE.jar;D:\axf1\mybatis-spring-1.3.2.jar;C:\path\to\local\repo\org\springframework\boot\spring-boot-starter-web\1.5.3.RELEASE\spring-boot-starter-web-1.5.3.RELEASE.jar;C:\path\to\local\repo\org\springframework\boot\spring-boot-starter\1.5.3.RELEASE\spring-boot-starter-1.5.3.RELEASE.jar;C:\path\to\local\repo\org\springframework\boot\spring-boot\1.5.3.RELEASE\spring-boot-1.5.3.RELEASE.jar;C:\path\to\local\repo\org\springframework\boot\spring-boot-autoconfigure\1.5.3.RELEASE\spring-boot-autoconfigure-1.5.3.RELEASE.jar;C:\path\to\local\repo\org\springframework\boot\spring-boot-starter-logging\1.5.3.RELEASE\spring-boot-starter-logging-1.5.3.RELEASE.jar;C:\path\to\local\repo\ch\qos\logback\logback-classic\1.1.11\logback-classic-1.1.11.jar;C:\path\to\local\repo\ch\qos\logback\logback-core\1.1.11\logback-core-1.1.11.jar;C:\path\to\local\repo\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar;C:\path\to\local\repo\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;C:\path\to\local\repo\org\slf4j\log4j-over-slf4j\1.7.25\log4j-over-slf4j-1.7.25.jar;C:\path\to\local\repo\org\springframework\spring-core\4.3.8.RELEASE\spring-core-4.3.8.RELEASE.jar;C:\path\to\local\repo\org\yaml\snakeyaml\1.17\snakeyaml-1.17.jar;C:\path\to\local\repo\org\springframework\boot\spring-boot-starter-tomcat\1.5.3.RELEASE\spring-boot-starter-tomcat-1.5.3.RELEASE.jar;C:\path\to\local\repo\org\apache\tomcat\embed\tomcat-embed-core\8.5.14\tomcat-embed-core-8.5.14.jar;C:\path\to\local\repo\org\apache\tomcat\embed\tomcat-embed-el\8.5.14\tomcat-embed-el-8.5.14.jar;C:\path\to\local\repo\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.14\tomcat-embed-websocket-8.5.14.jar;C:\path\to\local\repo\org\hibernate\hibernate-validator\5.3.5.Final\hibernate-validator-5.3.5.Final.jar;C:\path\to\local\repo\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;C:\path\to\local\repo\org\jboss\logging\jboss-logging\3.3.1.Final\jboss-logging-3.3.1.Final.jar;C:\path\to\local\repo\com\fasterxml\jackson\core\jackson-databind\2.8.8\jackson-databind-2.8.8.jar;C:\path\to\local\repo\com\fasterxml\jackson\core\jackson-annotations\2.8.0\jackson-annotations-2.8.0.jar;C:\path\to\local\repo\com\fasterxml\jackson\core\jackson-core\2.8.8\jackson-core-2.8.8.jar;C:\path\to\local\repo\org\springframework\spring-web\4.3.8.RELEASE\spring-web-4.3.8.RELEASE.jar;C:\path\to\local\repo\org\springframework\spring-aop\4.3.8.RELEASE\spring-aop-4.3.8.RELEASE.jar;C:\path\to\local\repo\org\springframework\spring-beans\4.3.8.RELEASE\spring-beans-4.3.8.RELEASE.jar;C:\path\to\local\repo\org\springframework\spring-context\4.3.8.RELEASE\spring-context-4.3.8.RELEASE.jar;C:\path\to\local\repo\org\springframework\spring-webmvc\4.3.8.RELEASE\spring-webmvc-4.3.8.RELEASE.jar;C:\path\to\local\repo\org\springframework\spring-expression\4.3.8.RELEASE\spring-expression-4.3.8.RELEASE.jar;C:\path\to\local\repo\io\springfox\springfox-swagger-ui\2.6.1\springfox-swagger-ui-2.6.1.jar;C:\path\to\local\repo\io\springfox\springfox-spring-web\2.6.1\springfox-spring-web-2.6.1.jar;C:\path\to\local\repo\io\springfox\springfox-swagger2\2.6.1\springfox-swagger2-2.6.1.jar;C:\path\to\local\repo\io\swagger\swagger-annotations\1.5.10\swagger-annotations-1.5.10.jar;C:\path\to\local\repo\io\swagger\swagger-models\1.5.10\swagger-models-1.5.10.jar;C:\path\to\local\repo\io\springfox\springfox-spi\2.6.1\springfox-spi-2.6.1.jar;C:\path\to\local\repo\io\springfox\springfox-core\2.6.1\springfox-core-2.6.1.jar;C:\path\to\local\repo\io\springfox\springfox-schema\2.6.1\springfox-schema-2.6.1.jar;C:\path\to\local\repo\io\springfox\springfox-swagger-common\2.6.1\springfox-swagger-common-2.6.1.jar;C:\path\to\local\repo\com\google\guava\guava\18.0\guava-18.0.jar;C:\path\to\local\repo\com\fasterxml\classmate\1.3.3\classmate-1.3.3.jar;C:\path\to\local\repo\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;C:\path\to\local\repo\org\springframework\plugin\spring-plugin-core\1.2.0.RELEASE\spring-plugin-core-1.2.0.RELEASE.jar;C:\path\to\local\repo\org\springframework\plugin\spring-plugin-metadata\1.2.0.RELEASE\spring-plugin-metadata-1.2.0.RELEASE.jar;C:\path\to\local\repo\org\mapstruct\mapstruct\1.0.0.Final\mapstruct-1.0.0.Final.jar;C:\path\to\local\repo\org\projectlombok\lombok\1.16.14\lombok-1.16.14.jar;C:\path\to\local\repo\com\alibaba\fastjson\1.2.38\fastjson-1.2.38.jar;C:\path\to\local\repo\mysql\mysql-connector-java\5.1.41\mysql-connector-java-5.1.41.jar;C:\path\to\local\repo\org\mybatis\spring\boot\mybatis-spring-boot-starter\1.3.0\mybatis-spring-boot-starter-1.3.0.jar;C:\path\to\local\repo\org\springframework\boot\spring-boot-starter-jdbc\1.5.3.RELEASE\spring-boot-starter-jdbc-1.5.3.RELEASE.jar;C:\path\to\local\repo\org\apache\tomcat\tomcat-jdbc\8.5.14\tomcat-jdbc-8.5.14.jar;C:\path\to\local\repo\org\apache\tomcat\tomcat-juli\8.5.14\tomcat-juli-8.5.14.jar;C:\path\to\local\repo\org\springframework\spring-jdbc\4.3.8.RELEASE\spring-jdbc-4.3.8.RELEASE.jar;C:\path\to\local\repo\org\springframework\spring-tx\4.3.8.RELEASE\spring-tx-4.3.8.RELEASE.jar;C:\path\to\local\repo\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\1.3.0\mybatis-spring-boot-autoconfigure-1.3.0.jar;C:\path\to\local\repo\org\mybatis\mybatis\3.4.4\mybatis-3.4.4.jar;C:\path\to\local\repo\org\mybatis\mybatis-spring\1.3.1\mybatis-spring-1.3.1.jar” com.course.Application
13:19:48,611 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
13:19:48,612 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
13:19:48,612 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/D:/axf2/AutoTest2020/chapter11/target/classes/logback.xml]
13:19:48,790 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
13:19:48,800 |-INFO in ch.qos.logback.core.joran.util.ConfigurationWatchListUtil@4439f31e - Adding [jar:file:/C:/Users/Administrator/.m2/repository/org/springframework/boot/spring-boot/2.3.1.RELEASE/spring-boot-2.3.1.RELEASE.jar!/org/springframework/boot/logging/logback/defaults.xml] to configuration watch list.
13:19:48,801 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@5dfcfece - URL [jar:file:/C:/Users/Administrator/.m2/repository/org/springframework/boot/spring-boot/2.3.1.RELEASE/spring-boot-2.3.1.RELEASE.jar!/org/springframework/boot/logging/logback/defaults.xml] is not of type file
13:19:48,811 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word clr with class [org.springframework.boot.logging.logback.ColorConverter]
13:19:48,811 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word wex with class [org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter]
13:19:48,811 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word wEx with class [org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter]
13:19:48,827 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.catalina.startup.DigesterFactory] to ERROR
13:19:48,828 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.catalina.util.LifecycleBase] to ERROR
13:19:48,828 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.coyote.http11.Http11NioProtocol] to WARN
13:19:48,828 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.sshd.common.util.SecurityUtils] to WARN
13:19:48,828 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.tomcat.util.net.NioSelectorPool] to WARN
13:19:48,829 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.eclipse.jetty.util.component.AbstractLifeCycle] to ERROR
13:19:48,829 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.validator.internal.util.Version] to WARN
13:19:48,830 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework.boot.actuate.endpoint.jmx] to WARN
13:19:48,831 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
13:19:48,844 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
13:19:48,932 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@600746945 - No compression will be used
13:19:48,934 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@600746945 - Will use the pattern C:/Users/ADMINI1/AppData/Local/Temp//C:/Users/ADMINI1/AppData/Local/Temp/ihp_custom_batches.log.%d{yyyy-MM-dd} for the active file
13:19:48,941 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is ‘yyyy-MM-dd’ from file name pattern ‘C:/Users/ADMINI1/AppData/Local/Temp//C:/Users/ADMINI1/AppData/Local/Temp/ihp_custom_batches.log.%d{yyyy-MM-dd}’.
13:19:48,941 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
13:19:48,942 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Mon Jul 06 13:19:48 CST 2020
13:19:48,945 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
13:19:48,983 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: C:\Users\ADMINI1\AppData\Local\Temp/C:\Users\ADMINI1\AppData\Local\Temp\ihp_custom_batches.log
13:19:48,983 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [C:\Users\ADMINI1\AppData\Local\Temp/C:\Users\ADMINI1\AppData\Local\Temp\ihp_custom_batches.log]
13:19:48,986 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Failed to create parent directories for [C:\Users\ADMINI1\AppData\Local\Temp\C:\Users\ADMINI1\AppData\Local\Temp\ihp_custom_batches.log]
13:19:48,988 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - openFile(C:\Users\ADMINI1\AppData\Local\Temp/C:\Users\ADMINI1\AppData\Local\Temp\ihp_custom_batches.log,true) call failed. java.io.FileNotFoundException: C:\Users\ADMINI1\AppData\Local\Temp\C:\Users\ADMINI1\AppData\Local\Temp\ihp_custom_batches.log (文件名、目录名或卷标语法不正确。)
at java.io.FileNotFoundException: C:\Users\ADMINI1\AppData\Local\Temp\C:\Users\ADMINI1\AppData\Local\Temp\ihp_custom_batches.log (文件名、目录名或卷标语法不正确。)
at at java.io.FileOutputStream.open0(Native Method)
at at java.io.FileOutputStream.open(FileOutputStream.java:270)
at at java.io.FileOutputStream.(FileOutputStream.java:213)
at at ch.qos.logback.core.recovery.ResilientFileOutputStream.(ResilientFileOutputStream.java:26)
at at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:204)
at at ch.qos.logback.core.FileAppender.start(FileAppender.java:127)
at at ch.qos.logback.core.rolling.RollingFileAppender.start(RollingFileAppender.java:100)
at at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:90)
at at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:309)
at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:193)
at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:179)
at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:165)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:152)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53)
at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
at at org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:55)
at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:412)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)
at at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
at at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132)
at at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:273)
at at org.springframework.boot.SpringApplication.(SpringApplication.java:196)
at at com.course.Application.main(Application.java:15)
13:19:48,988 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
13:19:48,991 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
13:19:48,992 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
13:19:48,994 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
13:19:48,994 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CRAWLER_LOG]
13:19:48,996 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@1824835605 - No compression will be used
13:19:48,996 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@1824835605 - Will use the pattern C:/Users/ADMINI~1/AppData/Local/Temp//event.%d{yyyy-MM-dd}.log for the active file
13:19:48,997 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is ‘yyyy-MM-dd’ from file name pattern ‘C:/Users/ADMINI~1/AppData/Local/Temp//event.%d{yyyy-MM-dd}.log’.
13:19:48,997 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
13:19:49,000 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Mon Jul 06 11:55:02 CST 2020
13:19:49,001 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[CRAWLER_LOG] - Active log file name: C:\Users\ADMINI~1\AppData\Local\Temp/event.log
13:19:49,001 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[CRAWLER_LOG] - File property is set to [C:\Users\ADMINI~1\AppData\Local\Temp/event.log]
13:19:49,003 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.business.intelligence.util.CrawlerLogger] to INFO
13:19:49,003 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [com.business.intelligence.util.CrawlerLogger] to false
13:19:49,003 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CRAWLER_LOG] to Logger[com.business.intelligence.util.CrawlerLogger]
13:19:49,004 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
13:19:49,005 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
13:19:49,005 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]
13:19:49,005 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
13:19:49,006 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@3a82f6ef - Registering current configuration as safe fallback point

2020-07-06 13:19:50.178 [main] ERROR org.springframework.boot.SpringApplication - Application run failed
java.lang.NoSuchMethodError: org.springframework.util.Assert.notNull(Ljava/lang/Object;Ljava/util/function/Supplier;)V
at org.springframework.format.support.FormattingConversionService.getFieldType(FormattingConversionService.java:123)
at org.springframework.format.support.FormattingConversionService.getFieldType(FormattingConversionService.java:114)
at org.springframework.format.support.FormattingConversionService.addFormatter(FormattingConversionService.java:84)
at org.springframework.boot.convert.ApplicationConversionService.addApplicationFormatters(ApplicationConversionService.java:147)
at org.springframework.boot.convert.ApplicationConversionService.configure(ApplicationConversionService.java:99)
at org.springframework.boot.convert.ApplicationConversionService.(ApplicationConversionService.java:61)
at org.springframework.boot.convert.ApplicationConversionService.(ApplicationConversionService.java:54)
at org.springframework.boot.convert.ApplicationConversionService.getSharedInstance(ApplicationConversionService.java:80)
at org.springframework.boot.SpringApplication.configureEnvironment(SpringApplication.java:478)
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:343)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
at com.course.Application.main(Application.java:15)

Process finished with exit code 1

写回答

1回答

大周

2020-07-08

at java.io.FileNotFoundException: C:\Users\ADMINI1\AppData\Local\Temp\C:\Users\ADMINI1\AppData\Local\Temp\ihp_custom_batches.log (文件名、目录名或卷标语法不正确。)  这里有问题,你的路径不对。 有可能是你之前装过别的软件导致的这个问题,比如说loadrunner,这个问题很难排查,可能是注册表的问题,实在找不到只能重新做系统。。。。。。。

0
0

Java接口自动化测试实战,搞定理论基础+典型应用场景

打破传统测试用例设计方法,搞懂基于TestNG的接口自动化测试技术

2086 学习 · 920 问题

查看课程