新建springboot项目时报的错

D:\Java\jdk1.8.0_171\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:52304,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=52303 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:C:\Users\886644\.IntelliJIdea2018.2\system\captureAgent\debugger-agent.jar=file:/C:/Users/886644/AppData/Local/Temp/capture2.props -Dfile.encoding=UTF-8 -classpath "D:\Java\jdk1.8.0_171\jre\lib\charsets.jar;D:\Java\jdk1.8.0_171\jre\lib\deploy.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\access-bridge-64.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\cldrdata.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\dnsns.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\jaccess.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\jfxrt.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\localedata.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\nashorn.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\sunec.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\sunjce_provider.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\sunmscapi.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\sunpkcs11.jar;D:\Java\jdk1.8.0_171\jre\lib\ext\zipfs.jar;D:\Java\jdk1.8.0_171\jre\lib\javaws.jar;D:\Java\jdk1.8.0_171\jre\lib\jce.jar;D:\Java\jdk1.8.0_171\jre\lib\jfr.jar;D:\Java\jdk1.8.0_171\jre\lib\jfxswt.jar;D:\Java\jdk1.8.0_171\jre\lib\jsse.jar;D:\Java\jdk1.8.0_171\jre\lib\management-agent.jar;D:\Java\jdk1.8.0_171\jre\lib\plugin.jar;D:\Java\jdk1.8.0_171\jre\lib\resources.jar;D:\Java\jdk1.8.0_171\jre\lib\rt.jar;E:\xiaochuang\wg_web\target\classes;E:\rpo\org\springframework\boot\spring-boot-starter-web\2.0.3.RELEASE\spring-boot-starter-web-2.0.3.RELEASE.jar;E:\rpo\org\springframework\boot\spring-boot-starter\2.0.3.RELEASE\spring-boot-starter-2.0.3.RELEASE.jar;E:\rpo\org\springframework\boot\spring-boot\2.0.3.RELEASE\spring-boot-2.0.3.RELEASE.jar;E:\rpo\org\springframework\boot\spring-boot-autoconfigure\2.0.3.RELEASE\spring-boot-autoconfigure-2.0.3.RELEASE.jar;E:\rpo\org\springframework\boot\spring-boot-starter-logging\2.0.3.RELEASE\spring-boot-starter-logging-2.0.3.RELEASE.jar;E:\rpo\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;E:\rpo\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;E:\rpo\org\apache\logging\log4j\log4j-to-slf4j\2.10.0\log4j-to-slf4j-2.10.0.jar;E:\rpo\org\apache\logging\log4j\log4j-api\2.10.0\log4j-api-2.10.0.jar;E:\rpo\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;E:\rpo\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;E:\rpo\org\yaml\snakeyaml\1.19\snakeyaml-1.19.jar;E:\rpo\org\springframework\boot\spring-boot-starter-json\2.0.3.RELEASE\spring-boot-starter-json-2.0.3.RELEASE.jar;E:\rpo\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.6\jackson-datatype-jdk8-2.9.6.jar;E:\rpo\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.6\jackson-datatype-jsr310-2.9.6.jar;E:\rpo\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.6\jackson-module-parameter-names-2.9.6.jar;E:\rpo\org\springframework\boot\spring-boot-starter-tomcat\2.0.3.RELEASE\spring-boot-starter-tomcat-2.0.3.RELEASE.jar;E:\rpo\org\apache\tomcat\embed\tomcat-embed-core\8.5.31\tomcat-embed-core-8.5.31.jar;E:\rpo\org\apache\tomcat\embed\tomcat-embed-el\8.5.31\tomcat-embed-el-8.5.31.jar;E:\rpo\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.31\tomcat-embed-websocket-8.5.31.jar;E:\rpo\org\hibernate\validator\hibernate-validator\6.0.10.Final\hibernate-validator-6.0.10.Final.jar;E:\rpo\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;E:\rpo\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;E:\rpo\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;E:\rpo\org\springframework\spring-web\5.0.7.RELEASE\spring-web-5.0.7.RELEASE.jar;E:\rpo\org\springframework\spring-beans\5.0.7.RELEASE\spring-beans-5.0.7.RELEASE.jar;E:\rpo\org\springframework\spring-webmvc\5.0.7.RELEASE\spring-webmvc-5.0.7.RELEASE.jar;E:\rpo\org\springframework\spring-aop\5.0.7.RELEASE\spring-aop-5.0.7.RELEASE.jar;E:\rpo\org\springframework\spring-context\5.0.7.RELEASE\spring-context-5.0.7.RELEASE.jar;E:\rpo\org\springframework\spring-expression\5.0.7.RELEASE\spring-expression-5.0.7.RELEASE.jar;E:\rpo\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;E:\rpo\junit\junit\4.12\junit-4.12.jar;E:\rpo\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;E:\rpo\org\springframework\spring-core\5.0.7.RELEASE\spring-core-5.0.7.RELEASE.jar;E:\rpo\org\springframework\spring-jcl\5.0.7.RELEASE\spring-jcl-5.0.7.RELEASE.jar;E:\rpo\com\alibaba\fastjson\1.2.46\fastjson-1.2.46.jar;E:\xiaochuang\wg_serviceImpl\target\classes;E:\xiaochuang\wg_service\target\classes;E:\rpo\org\springframework\data\spring-data-redis\2.0.8.RELEASE\spring-data-redis-2.0.8.RELEASE.jar;E:\rpo\org\springframework\data\spring-data-keyvalue\2.0.8.RELEASE\spring-data-keyvalue-2.0.8.RELEASE.jar;E:\rpo\org\springframework\data\spring-data-commons\2.0.8.RELEASE\spring-data-commons-2.0.8.RELEASE.jar;E:\rpo\org\springframework\spring-tx\5.0.7.RELEASE\spring-tx-5.0.7.RELEASE.jar;E:\rpo\org\springframework\spring-oxm\5.0.7.RELEASE\spring-oxm-5.0.7.RELEASE.jar;E:\rpo\org\springframework\spring-context-support\5.0.7.RELEASE\spring-context-support-5.0.7.RELEASE.jar;E:\xiaochuang\wg_mapper\target\classes;E:\rpo\org\mybatis\generator\mybatis-generator-core\1.3.3\mybatis-generator-core-1.3.3.jar;E:\rpo\org\aspectj\aspectjrt\1.8.13\aspectjrt-1.8.13.jar;E:\xiaochuang\wg_util\target\classes;E:\rpo\org\projectlombok\lombok\1.18.0\lombok-1.18.0.jar;E:\rpo\org\apache\poi\poi-ooxml\3.14\poi-ooxml-3.14.jar;E:\rpo\org\apache\poi\poi\3.14\poi-3.14.jar;E:\rpo\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;E:\rpo\org\apache\poi\poi-ooxml-schemas\3.14\poi-ooxml-schemas-3.14.jar;E:\rpo\org\apache\xmlbeans\xmlbeans\2.6.0\xmlbeans-2.6.0.jar;E:\rpo\stax\stax-api\1.0.1\stax-api-1.0.1.jar;E:\rpo\com\github\virtuald\curvesapi\1.03\curvesapi-1.03.jar;E:\rpo\com\github\pagehelper\pagehelper\5.1.4\pagehelper-5.1.4.jar;E:\rpo\com\github\jsqlparser\jsqlparser\1.0\jsqlparser-1.0.jar;E:\rpo\com\aliyun\oss\aliyun-sdk-oss\2.7.0\aliyun-sdk-oss-2.7.0.jar;E:\rpo\org\apache\httpcomponents\httpclient\4.5.5\httpclient-4.5.5.jar;E:\rpo\org\apache\httpcomponents\httpcore\4.4.9\httpcore-4.4.9.jar;E:\rpo\org\jdom\jdom\1.1\jdom-1.1.jar;E:\rpo\net\sf\json-lib\json-lib\2.4\json-lib-2.4-jdk15.jar;E:\rpo\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;E:\rpo\commons-lang\commons-lang\2.5\commons-lang-2.5.jar;E:\rpo\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;E:\rpo\net\sf\ezmorph\ezmorph\1.0.6\ezmorph-1.0.6.jar;E:\rpo\com\github\terran4j\terran4j-commons-api2doc\1.0.1\terran4j-commons-api2doc-1.0.1.jar;E:\rpo\com\vladsch\flexmark\flexmark\0.26.4\flexmark-0.26.4.jar;E:\rpo\com\vladsch\flexmark\flexmark-util\0.26.4\flexmark-util-0.26.4.jar;E:\rpo\com\vladsch\flexmark\flexmark-ext-tables\0.26.4\flexmark-ext-tables-0.26.4.jar;E:\rpo\com\vladsch\flexmark\flexmark-formatter\0.26.4\flexmark-formatter-0.26.4.jar;E:\rpo\org\springframework\boot\spring-boot-starter-freemarker\2.0.3.RELEASE\spring-boot-starter-freemarker-2.0.3.RELEASE.jar;E:\rpo\org\freemarker\freemarker\2.3.28\freemarker-2.3.28.jar;E:\rpo\com\github\terran4j\terran4j-commons-util\1.0.1\terran4j-commons-util-1.0.1.jar;E:\rpo\org\apache\commons\commons-collections4\4.1\commons-collections4-4.1.jar;E:\rpo\commons-beanutils\commons-beanutils\1.9.3\commons-beanutils-1.9.3.jar;E:\rpo\joda-time\joda-time\2.9.9\joda-time-2.9.9.jar;E:\rpo\org\bouncycastle\bcprov-jdk15on\1.56\bcprov-jdk15on-1.56.jar;E:\rpo\com\github\terran4j\terran4j-commons-website\1.0.1\terran4j-commons-website-1.0.1.jar;E:\rpo\com\github\terran4j\terran4j-commons-restpack\1.0.1\terran4j-commons-restpack-1.0.1.jar;E:\rpo\org\aspectj\aspectjweaver\1.8.13\aspectjweaver-1.8.13.jar;E:\rpo\com\google\code\gson\gson\2.8.5\gson-2.8.5.jar;E:\rpo\com\fasterxml\jackson\core\jackson-core\2.9.6\jackson-core-2.9.6.jar;E:\rpo\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;E:\rpo\com\fasterxml\jackson\core\jackson-databind\2.9.6\jackson-databind-2.9.6.jar;E:\rpo\com\fasterxml\jackson\module\jackson-module-jsonSchema\2.9.6\jackson-module-jsonSchema-2.9.6.jar;E:\rpo\org\springframework\boot\spring-boot-starter-redis\1.3.8.RELEASE\spring-boot-starter-redis-1.3.8.RELEASE.jar;E:\rpo\com\google\guava\guava\21.0\guava-21.0.jar;E:\rpo\redis\clients\jedis\2.9.0\jedis-2.9.0.jar;E:\rpo\org\apache\commons\commons-pool2\2.5.0\commons-pool2-2.5.0.jar;E:\rpo\org\apache\commons\commons-lang3\3.7\commons-lang3-3.7.jar;E:\xiaochuang\wg_pojo\target\classes;E:\rpo\org\mybatis\spring\boot\mybatis-spring-boot-starter\1.3.1\mybatis-spring-boot-starter-1.3.1.jar;E:\rpo\org\springframework\boot\spring-boot-starter-jdbc\2.0.3.RELEASE\spring-boot-starter-jdbc-2.0.3.RELEASE.jar;E:\rpo\com\zaxxer\HikariCP\2.7.9\HikariCP-2.7.9.jar;E:\rpo\org\springframework\spring-jdbc\5.0.7.RELEASE\spring-jdbc-5.0.7.RELEASE.jar;E:\rpo\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\1.3.1\mybatis-spring-boot-autoconfigure-1.3.1.jar;E:\rpo\org\mybatis\mybatis\3.4.5\mybatis-3.4.5.jar;E:\rpo\org\mybatis\mybatis-spring\1.3.1\mybatis-spring-1.3.1.jar;E:\rpo\mysql\mysql-connector-java\5.1.44\mysql-connector-java-5.1.44.jar;E:\rpo\com\alibaba\druid\1.1.3\druid-1.1.3.jar;D:\Java\jdk1.8.0_171\lib\jconsole.jar;D:\Java\jdk1.8.0_171\lib\tools.jar;E:\rpo\com\github\pagehelper\pagehelper-spring-boot-starter\1.0.0\pagehelper-spring-boot-starter-1.0.0.jar;E:\rpo\com\github\pagehelper\pagehelper-spring-boot-autoconfigure\1.0.0\pagehelper-spring-boot-autoconfigure-1.0.0.jar;E:\JetBrains\IntelliJ IDEA 2018.2\lib\idea_rt.jar" com.xiaochuang.WgWebApplication
Connected to the target VM, address: '127.0.0.1:52304', transport: 'socket'

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

2018-08-11 16:17:12.297  INFO 14836 --- [           main] com.xiaochuang.WgWebApplication          : Starting WgWebApplication on LAPTOP-4VG2KHF0 with PID 14836 (E:\xiaochuang\wg_web\target\classes started by 886644 in E:\xiaochuang)
2018-08-11 16:17:12.321  INFO 14836 --- [           main] com.xiaochuang.WgWebApplication          : The following profiles are active: devlee
2018-08-11 16:17:12.500  INFO 14836 --- [           main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@35229f85: startup date [Sat Aug 11 16:17:12 GMT+08:00 2018]; root of context hierarchy
2018-08-11 16:17:14.707  WARN 14836 --- [           main] o.m.s.mapper.ClassPathMapperScanner      : No MyBatis mapper was found in '[com.weigu.dao.mapper]' package. Please check your configuration.
2018-08-11 16:17:14.707  WARN 14836 --- [           main] o.m.s.mapper.ClassPathMapperScanner      : No MyBatis mapper was found in '[com.xiaochuang.dao.mapper]' package. Please check your configuration.
2018-08-11 16:17:15.122  WARN 14836 --- [           main] o.m.s.mapper.ClassPathMapperScanner      : No MyBatis mapper was found in '[com.xiaochuang]' package. Please check your configuration.
2018-08-11 16:17:15.287  INFO 14836 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2018-08-11 16:17:16.076  INFO 14836 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$5663944a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-08-11 16:17:17.113  INFO 14836 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8090 (http)
2018-08-11 16:17:17.190  INFO 14836 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2018-08-11 16:17:17.190  INFO 14836 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.31
2018-08-11 16:17:17.195  INFO 14836 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [D:\Java\jdk1.8.0_171\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;E:\maven\apache-maven-3.5.4\bin;C:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\nodejs\;D:\Git\cmd;D:\MySQL\MySQL Server 5.5\bin;C:\WINDOWS\System32\OpenSSH\;C:\Users\886644\AppData\Local\Microsoft\WindowsApps;;e:\Microsoft VS Code\bin;C:\Users\886644\AppData\Roaming\npm;.]
2018-08-11 16:17:17.469  INFO 14836 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2018-08-11 16:17:17.470  INFO 14836 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 4981 ms
2018-08-11 16:17:17.670  INFO 14836 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Servlet dispatcherServlet mapped to [/]
2018-08-11 16:17:17.676  INFO 14836 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
2018-08-11 16:17:17.676  INFO 14836 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2018-08-11 16:17:17.676  INFO 14836 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2018-08-11 16:17:17.676  INFO 14836 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
2018-08-11 16:17:17.791  WARN 14836 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'courseListController': Unsatisfied dependency expressed through field 'courseListService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'courseListServiceImpl': Unsatisfied dependency expressed through field 'courseListMapper'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.xiaochuang.dao.CourseListMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
2018-08-11 16:17:17.794  INFO 14836 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2018-08-11 16:17:17.982  INFO 14836 --- [           main] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2018-08-11 16:17:18.170 Disconnected from the target VM, address: '127.0.0.1:52304', transport: 'socket'
ERROR 14836 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

***************************
APPLICATION FAILED TO START
***************************

Description:

Field courseListMapper in com.xiaochuang.serviceImpl.CourseListServiceImpl required a bean of type 'com.xiaochuang.dao.CourseListMapper' that could not be found.


Action:

Consider defining a bean of type 'com.xiaochuang.dao.CourseListMapper' in your configuration.

猜你喜欢

转载自blog.csdn.net/wb_zjp283121/article/details/81587876