The log file:
The 2017-01-10 16:20:44. [the main] INFO 328 com. Iking. Das. The Run - Starting a Run on yangfl with PID 4276 (D: \ workplace \ dasapi \ target \ classes started by Administrator in D: \ workplace \ dasapi)
The 2017-01-10 16:20:44. [The main] INFO 330 com. Iking. Das. The Run - The following profiles are active: dev
The 2017-01-10 16:20:44. 337/background - preinit INFO org.. Hibernate validator. Internal. Util. Version - HV000001: hibernate validator 5.2.4. Final
16:20:44 2017-01-10. 367. [the main] INFO O.S.C.A.A nnotationConfigApplicationContext - Refreshing org. Springframework. Context. The annotation. AnnotationConfigApplicationContext @ 3 c4bb879: startup date [Tue Jan 10 16:20:44 CST 2017]. The root of the context hierarchy
16:20:45 2017-01-10. 408. [the main] INFO O.S.C.S.P ostProcessorRegistrationDelegate $BeanPostProcessorChecker - Bean 'org. Springframework. Transaction. The annotation. ProxyTransactionManagementConfiguration' of type [class org. Springframework. Transaction. The annotation. ProxyTransactionManagementConfiguration $$EnhancerBySpringCGLIB $$80 fdabc8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto - proxying)
16:20:45 2017-01-10. 701 (main) ERROR O.S.B oot. The bind. PropertiesConfigurationFactory - Properties configuration failed validation
16:20:45 2017-01-10. 701 (main) ERROR O.S.B oot. The bind. PropertiesConfigurationFactory - Field ERROR in object 'spring. The datasource' on the Field 'type' : rejected value [com. Alibaba. Druid. Pool. DruidDataSource]; Codes [typeMismatch. Spring. The datasource. Type, typeMismatch. Type, typeMismatch. Java lang. Class, typeMismatch]; The arguments [org. Springframework. Context. Support. DefaultMessageSourceResolvable: codes [spring. The datasource. Type, type]; the arguments []; the default message [type]]. The default message [Failed to convert the property value of type 'Java. Lang. String' to the required type 'Java. Lang. Class' for the property 'type'; nested exception is Java. Lang. IllegalArgumentException: always find a Class [com. Alibaba. Druid. Pool. DruidDataSource]]
The 2017-01-10 16:20:45. 702. [the main] WARN O.S.C.A.A nnotationConfigApplicationContext - Exception encountered during the context initialization - cancelling refresh attempt: org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'helloController: Unsatisfied dependency expressed through the field' tUserService '; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'tUserService: Unsatisfied dependency expressed through the field' tUserMapper '; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'TUserMapper defined in the file [D: \ workplace \ dasapi \ target \ classes \ com \ iking \ das \ dao \ TUserMapper class] : Unsatisfied dependency expressed through the bean property' sqlSessionFactory '; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'sqlSessionFactory defined in the 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. UnsatisfiedDependencyException: Error creating bean with the name 'dataSource' defined in the class path resource [org/springframework/boot/autoconfigure/JDBC/DataSourceConfiguration $Generic class] : Unsatisfied dependency expressed through method 'dataSource' parameter 0; Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'spring. The datasource - org. Springframework. Boot. Autoconfigure. JDBC. DataSourceProperties' : Could not bind the properties to DataSourceProperties (prefix=spring. The datasource, ignoreInvalidFields=false, ignoreUnknownFields=true, ignoreNestedProperties=false). Nested exception is org. Springframework. Validation. BindException: org. Springframework. Boot. Bind. RelaxedDataBinder $RelaxedBeanPropertyBindingResult: 1 errors
Field error in object 'spring. The datasource' on the Field 'type' : rejected value [com. Alibaba. Druid. Pool. DruidDataSource]; Codes [typeMismatch. Spring. The datasource. Type, typeMismatch. Type, typeMismatch. Java lang. Class, typeMismatch]; The arguments [org. Springframework. Context. Support. DefaultMessageSourceResolvable: codes [spring. The datasource. Type, type]; the arguments []; the default message [type]]. The default message [Failed to convert the property value of type 'Java. Lang. String' to the required type 'Java. Lang. Class' for the property 'type'; nested exception is Java. Lang. IllegalArgumentException: always find a Class [com. Alibaba. Druid. Pool. DruidDataSource]]
The 2017-01-10 16:20:45. 710. [the main] INFO O.S.B.A.L.A utoConfigurationReportLoggingInitializer -
Error starting ApplicationContext. To display the auto - the configuration report re - run your application with 'debug' enabled.
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull