概述
数据源配置:
appenders present in context [logback] for logger [org.springframework.core.env.PropertySourcesPropertyResolver].
11:54:10,274 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Will scan for changes in [file:/D:/p2-spot/target/classes/logback.xml]
11:54:10,274 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Setting ReconfigureOnChangeTask scanning period to 1 seconds
11:54:10,275 |-INFO in ch.qos.logback.classic.joran.action.ContextNameAction - Setting logger context name as [logback]
11:54:10,275 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
11:54:10,275 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
11:54:10,275 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
11:54:10,276 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
11:54:10,276 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
11:54:10,277 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@802771878 - No compression will be used
11:54:10,277 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@802771878 - Will use the pattern logback_test/log/.%d{yyyy-MM-dd}.log for the active file
11:54:10,278 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is ‘yyyy-MM-dd’ from file name pattern ‘logback_test/log/.%d{yyyy-MM-dd}.log’.
11:54:10,278 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
11:54:10,279 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Thu Jan 09 11:54:10 CST 2020
11:54:10,279 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
11:54:10,280 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: logback_test/log/.2020-01-09.log
11:54:10,280 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [null]
11:54:10,281 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.apache.ibatis] to TRACE
11:54:10,281 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [java.sql.Connection] to DEBUG
11:54:10,281 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [java.sal.Statement] to DEBUG
11:54:10,281 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [java.sql.PreparedStatement] to DEBUG
11:54:10,281 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
11:54:10,281 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
11:54:10,281 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]
11:54:10,281 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
11:54:10,281 |-INFO in org.springframework.boot.logging.logback.SpringBootJoranConfigurator@a4add54 - Registering current configuration as safe fallback point
. ____ _ __ _ _
/ / ’ __ _ () __ __ _
( ( )__ | '_ | '| | ’ / ` |
/ )| |)| | | | | || (| | ) ) ) )
’ || .__|| ||| |__, | / / / /
=|_|======|/=////
:: Spring Boot :: (v2.0.3.RELEASE)
2020-01-09 11:54:10.389 [main] INFO cn.paohe.Application - Starting Application on DESKTOP-KLFM7T1 with PID 18328 (D:p2-spottargetclasses started by user in D:p2-spot)
2020-01-09 11:54:10.393 [main] INFO cn.paohe.Application - No active profile set, falling back to default profiles: default
2020-01-09 11:54:10.453 [main] INFO o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2e6a5539: startup date [Thu Jan 09 11:54:10 CST 2020]; root of context hierarchy
2020-01-09 11:54:11.042 [main] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in ‘[cn.paohe.spot.dao]’ package. Please check your configuration.
2020-01-09 11:54:11.128 [main] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in ‘[cn.paohe]’ package. Please check your configuration.
2020-01-09 11:54:11.162 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2020-01-09 11:54:11.512 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate
B
e
a
n
P
o
s
t
P
r
o
c
e
s
s
o
r
C
h
e
c
k
e
r
−
B
e
a
n
′
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
t
r
a
n
s
a
c
t
i
o
n
.
a
n
n
o
t
a
t
i
o
n
.
P
r
o
x
y
T
r
a
n
s
a
c
t
i
o
n
M
a
n
a
g
e
m
e
n
t
C
o
n
f
i
g
u
r
a
t
i
o
n
′
o
f
t
y
p
e
[
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
t
r
a
n
s
a
c
t
i
o
n
.
a
n
n
o
t
a
t
i
o
n
.
P
r
o
x
y
T
r
a
n
s
a
c
t
i
o
n
M
a
n
a
g
e
m
e
n
t
C
o
n
f
i
g
u
r
a
t
i
o
n
BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration
BeanPostProcessorChecker−Bean′org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration′oftype[org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration
E
n
h
a
n
c
e
r
B
y
S
p
r
i
n
g
C
G
L
I
B
EnhancerBySpringCGLIB
EnhancerBySpringCGLIB
22
e
f
58
f
8
]
i
s
n
o
t
e
l
i
g
i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
t
i
o
n
o
f
i
n
i
t
m
e
t
h
o
d
f
a
i
l
e
d
;
n
e
s
t
e
d
e
x
c
e
p
t
i
o
n
i
s
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
b
o
o
t
.
a
u
t
o
c
o
n
f
i
g
u
r
e
.
j
d
b
c
.
D
a
t
a
S
o
u
r
c
e
P
r
o
p
e
r
t
i
e
s
22ef58f8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2020-01-09 11:54:11.747 [main] INFO org.xnio - XNIO version 3.3.8.Final 2020-01-09 11:54:11.761 [main] INFO org.xnio.nio - XNIO NIO Implementation Version 3.3.8.Final 2020-01-09 11:54:11.790 [main] WARN io.undertow.websockets.jsr - UT026009: XNIO worker was not set on WebSocketDeploymentInfo, the default worker will be used 2020-01-09 11:54:11.790 [main] WARN io.undertow.websockets.jsr - UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used 2020-01-09 11:54:11.811 [main] INFO io.undertow.servlet - Initializing Spring embedded WebApplicationContext 2020-01-09 11:54:11.812 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 1359 ms 2020-01-09 11:54:11.910 [main] INFO o.s.boot.web.servlet.ServletRegistrationBean - Servlet dispatcherServlet mapped to [/] 2020-01-09 11:54:11.914 [main] INFO o.s.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'characterEncodingFilter' to: [/*] 2020-01-09 11:54:11.914 [main] INFO o.s.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'hiddenHttpMethodFilter' to: [/*] 2020-01-09 11:54:11.915 [main] INFO o.s.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'httpPutFormContentFilter' to: [/*] 2020-01-09 11:54:11.915 [main] INFO o.s.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'requestContextFilter' to: [/*] 2020-01-09 11:54:12.290 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2020-01-09 11:54:12.530 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerAdapter - Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2e6a5539: startup date [Thu Jan 09 11:54:10 CST 2020]; root of context hierarchy 2020-01-09 11:54:12.647 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest) 2020-01-09 11:54:12.648 [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) 2020-01-09 11:54:12.675 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2020-01-09 11:54:12.675 [main] INFO o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2020-01-09 11:54:12.747 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure - Init DruidDataSource 2020-01-09 11:54:12.785 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [com/alibaba/druid/spring/boot/autoconfigure/DruidDataSourceAutoConfigure.class]: Invocation of init method failed; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties
22ef58f8]isnoteligibleforgettingprocessedbyallBeanPostProcessors(forexample:noteligibleforauto−proxying)2020−01−0911:54:11.747[main]INFOorg.xnio−XNIOversion3.3.8.Final2020−01−0911:54:11.761[main]INFOorg.xnio.nio−XNIONIOImplementationVersion3.3.8.Final2020−01−0911:54:11.790[main]WARNio.undertow.websockets.jsr−UT026009:XNIOworkerwasnotsetonWebSocketDeploymentInfo,thedefaultworkerwillbeused2020−01−0911:54:11.790[main]WARNio.undertow.websockets.jsr−UT026010:BufferpoolwasnotsetonWebSocketDeploymentInfo,thedefaultpoolwillbeused2020−01−0911:54:11.811[main]INFOio.undertow.servlet−InitializingSpringembeddedWebApplicationContext2020−01−0911:54:11.812[main]INFOorg.springframework.web.context.ContextLoader−RootWebApplicationContext:initializationcompletedin1359ms2020−01−0911:54:11.910[main]INFOo.s.boot.web.servlet.ServletRegistrationBean−ServletdispatcherServletmappedto[/]2020−01−0911:54:11.914[main]INFOo.s.boot.web.servlet.FilterRegistrationBean−Mappingfilter:′characterEncodingFilter′to:[/∗]2020−01−0911:54:11.914[main]INFOo.s.boot.web.servlet.FilterRegistrationBean−Mappingfilter:′hiddenHttpMethodFilter′to:[/∗]2020−01−0911:54:11.915[main]INFOo.s.boot.web.servlet.FilterRegistrationBean−Mappingfilter:′httpPutFormContentFilter′to:[/∗]2020−01−0911:54:11.915[main]INFOo.s.boot.web.servlet.FilterRegistrationBean−Mappingfilter:′requestContextFilter′to:[/∗]2020−01−0911:54:12.290[main]INFOo.s.web.servlet.handler.SimpleUrlHandlerMapping−MappedURLpath[/∗∗/favicon.ico]ontohandleroftype[classorg.springframework.web.servlet.resource.ResourceHttpRequestHandler]2020−01−0911:54:12.530[main]INFOo.s.w.s.m.m.a.RequestMappingHandlerAdapter−Lookingfor@ControllerAdvice:org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2e6a5539:startupdate[ThuJan0911:54:10CST2020];rootofcontexthierarchy2020−01−0911:54:12.647[main]INFOo.s.w.s.m.m.a.RequestMappingHandlerMapping−Mapped"[/error]"ontopublicorg.springframework.http.ResponseEntity<java.util.Map<java.lang.String,java.lang.Object>>org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)2020−01−0911:54:12.648[main]INFOo.s.w.s.m.m.a.RequestMappingHandlerMapping−Mapped"[/error],produces=[text/html]"ontopublicorg.springframework.web.servlet.ModelAndVieworg.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)2020−01−0911:54:12.675[main]INFOo.s.web.servlet.handler.SimpleUrlHandlerMapping−MappedURLpath[/webjars/∗∗]ontohandleroftype[classorg.springframework.web.servlet.resource.ResourceHttpRequestHandler]2020−01−0911:54:12.675[main]INFOo.s.web.servlet.handler.SimpleUrlHandlerMapping−MappedURLpath[/∗∗]ontohandleroftype[classorg.springframework.web.servlet.resource.ResourceHttpRequestHandler]2020−01−0911:54:12.747[main]INFOc.a.d.s.b.a.DruidDataSourceAutoConfigure−InitDruidDataSource2020−01−0911:54:12.785[main]WARNo.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext−Exceptionencounteredduringcontextinitialization−cancellingrefreshattempt:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname′dataSource′definedinclasspathresource[com/alibaba/druid/spring/boot/autoconfigure/DruidDataSourceAutoConfigure.class]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.boot.autoconfigure.jdbc.DataSourcePropertiesDataSourceBeanCreationException: Failed to determine a suitable driver class
2020-01-09 11:54:12.785 [main] INFO o.s.jmx.export.annotation.AnnotationMBeanExporter - Unregistering JMX-exposed beans on shutdown
2020-01-09 11:54:12.805 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener -
Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2020-01-09 11:54:12.807 [main] ERROR o.s.b.diagnostics.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).
Disconnected from the target VM, address: ‘127.0.0.1:61248’, transport: ‘socket’
Process finished with exit code 1
解决方法:
改为:
启动成功!
最后
以上就是复杂微笑为你收集整理的springboot配置文件yml读取不到。的全部内容,希望文章能够帮你解决springboot配置文件yml读取不到。所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复