Spring Boot boot error: Loggingfailureanalysisreporter

Source: Internet
Author: User
Tags stack trace

17:57:19:executing task ' Bootrun ' ...

Parallel execution with configuration on demand are an incubating feature.
: Thinkvenus-common:compilejava
: Thinkvenus-tool:processresources Up-to-date
: Thinkvenus-common:compilejava Up-to-date
: Thinkvenus-common:processresources Up-to-date
: thinkvenus-common:classes Up-to-date
: Thinkvenus-common:jar Up-to-date
: Thinkvenus-tool:compilejava Up-to-date
: thinkvenus-tool:classes Up-to-date
: Thinkvenus-tool:findmainclass
: Thinkvenus-tool:bootrun

. ____ _ __ _ _
/\\ / ___‘_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | ' _ | ' _| | ' _ \ _ ' | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____|. __|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot:: (v1.5.9.release)

2017-12-12 17:57:21.856 INFO 6176---[main] c.t.tool.controller.samplecontroller:starting Samplecontroller on MAO-MAO With PID 6176 (D:\java\ThinkVenus\thinkvenus-tool\build\classes\main started by Mao.mao in D:\java\ThinkVenus\ Thinkvenus-tool)
2017-12-12 17:57:21.856 INFO 6176---[main] c.t.tool.controller.samplecontroller:no active profile set, falling back t o Default Profiles:default
2017-12-12 17:57:22.121 INFO 6176---[main] ationconfigembeddedwebapplicationcontext:refreshing Org.springframework.boot[email protected]5d20e46:startup Date [Tue Dec 17:57:22 CST 2017]; Root of context Hierarchy
2017-12-12 17:57:22.605 INFO 6176---[main] o.s.b.f.s.defaultlistablebeanfactory:overriding bean definition for bean ' DataSource ' with a different definition:replacing [Root bean:class [null]; scope=; abstract=false; lazyinit=false; Autow iremode=3; dependencycheck=0; Autowirecandidate=true; Primary=false; FACTORYBEANNAME=ORG.SPRINGFRAMEWORK.BOOT.AUTOCONFIGURE.JDBC.DATASOURCECONFIGURATION$DBCP2; Factorymethodname=datasource; Initmethodname=null; Destroymethodname= (inferred); Defined in class path resource [Org/springframework/boot/autoconfigure/jdbc/datasourceconfiguration$dbcp2.class] with [Root bean:class [null]; scope=; abstract=false; lazyinit=false; autowiremode=3; dependencycheck=0; Autowirecandidate=true; Primary=false; Factorybeanname=org.springframework.boot.autoconfigure.jdbc.datasourceconfiguration$hikari; Factorymethodname=datasource; Initmethodname=null; Destroymethodname= (inferred); Defined in class path resource [Org/springframework/boot/autoconfigure/jdbc/datasouRceconfiguration$hikari.class]]
2017-12-12 17:57:23.464 INFO 6176---[main] s.b.c.e.t.tomcatembeddedservletcontainer:tomcat initialized with Port (s): 8080 (http)
2017-12-12 17:57:23.480 INFO 6176---[main] o.apache.catalina.core.standardservice:starting service [Tomcat]
2017-12-12 17:57:23.480 INFO 6176---[main] org.apache.catalina.core.StandardEngine:Starting Servlet Engine:apache to mcat/8.5.23
2017-12-12 17:57:23.620 INFO 6176---[ost-startstop-1] o.a.c.c.c.[tomcat]. [localhost]. [/]: Initializing Spring embedded Webapplicationcontext
2017-12-12 17:57:23.620 INFO 6176---[ost-startstop-1] o.s.web.context.contextloader:root WebApplicationContext: Initialization completed in 1499 MS
2017-12-12 17:57:23.745 INFO 6176---[ost-startstop-1] o.s.b.w.servlet.servletregistrationbean:mapping servlet: ' Dispatcherservlet ' to [/]
2017-12-12 17:57:23.761 INFO 6176---[ost-startstop-1] o.s.b.w.servlet.filterregistrationbean:mapping filter: ' Characterencodingfilter ' to: [/*]
2017-12-12 17:57:23.761 INFO 6176---[ost-startstop-1] o.s.b.w.servlet.filterregistrationbean:mapping filter: ' Hiddenhttpmethodfilter ' to: [/*]
2017-12-12 17:57:23.761 INFO 6176---[ost-startstop-1] o.s.b.w.servlet.filterregistrationbean:mapping filter: ' Httpputformcontentfilter ' to: [/*]
2017-12-12 17:57:23.761 INFO 6176---[ost-startstop-1] o.s.b.w.servlet.filterregistrationbean:mapping filter: ' Requestcontextfilter ' to: [/*]
2017-12-12 17:57:24.026 INFO 6176---[main] s.w.s.m.m.a.requestmappinghandleradapter:looking for @ControllerAdvice: or G.springframework.boot[email protected]5d20e46:startup Date [Tue Dec 17:57:22 CST 2017]; Root of context Hierarchy
2017-12-12 17:57:24.088 INFO 6176---[main] s.w.s.m.m.a.requestmappinghandlermapping:mapped "{[/]}" onto JAVA.LANG.STR ing Com.thinkvenus.tool.controller.SampleController.home ()
2017-12-12 17:57:24.104 INFO 6176---[main] s.w.s.m.m.a.requestmappinghandlermapping:mapped "{[/error]}" onto public o Rg.springframework.http.responseentity<java.util.map<java.lang.string, java.lang.Object>> Org.springframework.boot.autoconfigure.web.BasicErrorController.error (Javax.servlet.http.HttpServletRequest)
2017-12-12 17:57:24.104 INFO 6176---[main] s.w.s.m.m.a.requestmappinghandlermapping:mapped "{[/error],produces=[ Text/html]} "onto public org.springframework.web.servlet.ModelAndView Org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml ( Javax.servlet.http.httpservletrequest,javax.servlet.http.httpservletresponse)
2017-12-12 17:57:24.120 INFO 6176---[main] o.s.w.s.handler.simpleurlhandlermapping:mapped URL path [/webjars/**] onto handler of type [class Org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2017-12-12 17:57:24.120 INFO 6176---[main] o.s.w.s.handler.simpleurlhandlermapping:mapped URL path [/**] onto handler of type [class Org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2017-12-12 17:57:24.166 INFO 6176---[main] o.s.w.s.handler.simpleurlhandlermapping:mapped URL path [/**/favicon.ico] onto handler of type [class Org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2017-12-12 17:57:24.260 WARN 6176---[main] ationconfigembeddedwebapplicationcontext:exception encountered during cont Ext initialization-cancelling Refresh Attempt:org.springframework.beans.factory.BeanCreationException:Error Creating bean with Name ' DataSource ' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/ Datasourceconfiguration$hikari.class]: Bean instantiation via factory method failed; Nested exception is org.springframework.beans.BeanInstantiationException:Failed to instantiate [ Com.zaxxer.hikari.HikariDataSource]: Factory method ' DataSource ' threw exception; Nested exception is org.springframework.boot.autoconfigure.jdbc.datasourceproperties$ Datasourcebeancreationexception:cannot Determine embedded database driver class for database type NONE. If you want a embedded database, put a supported one on the classpath. If you have the database settings to is loaded from a particular profiles you may need to active it (no profiles is currently Active).
2017-12-12 17:57:24.260 INFO 6176---[main] o.s.j.e.a.annotationmbeanexporter:unregistering jmx-exposed beans on Shutd Own
2017-12-12 17:57:24.260 INFO 6176---[main] o.apache.catalina.core.standardservice:stopping service [Tomcat]
2017-12-12 17:57:24.291 INFO 6176---[main] utoconfigurationreportlogginginitializer:

Error starting ApplicationContext. To display the Auto-configuration report re-run your application with ' debug ' enabled.
2017-12-12 17:57:24.291 ERROR 6176---[main] o.s.b.d.loggingfailureanalysisreporter:

***************************
Application FAILED to START
***************************

Description:

Cannot determine embedded database driver class for database type NONE

Action:

If you want a embedded database, put a supported one on the classpath. If you have the database settings to is loaded from a particular profiles you may need to active it (no profiles is currently Active).

: Thinkvenus-tool:bootrun FAILED

Failure:build failed with an exception.

* What went wrong:
Execution failed for task ': Thinkvenus-tool:bootrun '.
> Process ' command ' C:\Program files\java\jdk1.8.0_60\bin\java.exe ' finished with Non-zero exit value 1

* Try:
Run with--STACKTRACE option to get the stack trace. Run with--info or--debug option to get more log output.

BUILD FAILED

Total time:4.587 secs
Process ' command ' C:\Program files\java\jdk1.8.0_60\bin\java.exe ' finished with Non-zero exit value 1
17:57:24:task execution finished ' Bootrun '.

After multiparty verification, you need to add exclude = {Datasourceautoconfiguration.class} in the @enableautoconfiguration or @springbootapplication of the startup class. Exclude AutoConfig of this class. It will run normally after startup.
Later, when the Spring Boot bottom feature package continues to be extracted, the source will find out why this problem occurred and update this article

Spring Boot boot error: Loggingfailureanalysisreporter

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.