java项目一直启动不起来_请问老师,我的创建了GirlProperties之后,java项目就启动不起来了...

源自:3-1 项目属性配置

请问老师,我的创建了GirlProperties之后,java项目就启动不起来了

2017-08-17 10:27:17.207  INFO 7438 --- [           main] com.example.demo.GirlApplication         : Starting GirlApplication on lfhbgs with PID 7438 (/home/cgc/Documents/workspace-sts-3.8.3.RELEASE/girl/target/classes started by cgc in /home/cgc/Documents/workspace-sts-3.8.3.RELEASE/girl)

2017-08-17 10:27:17.216  INFO 7438 --- [           main] com.example.demo.GirlApplication         : No active profile set, falling back to default profiles: default

2017-08-17 10:27:18.153  INFO 7438 --- [           main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5b239d7d: startup date [Thu Aug 17 10:27:18 CST 2017]; root of context hierarchy

2017-08-17 10:27:23.699  INFO 7438 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)

2017-08-17 10:27:23.745  INFO 7438 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]

2017-08-17 10:27:23.746  INFO 7438 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.16

2017-08-17 10:27:24.031  INFO 7438 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext

2017-08-17 10:27:24.032  INFO 7438 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 5902 ms

2017-08-17 10:27:24.656  INFO 7438 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Mapping servlet: 'dispatcherServlet' to [/]

2017-08-17 10:27:24.687  INFO 7438 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]

2017-08-17 10:27:24.691  INFO 7438 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]

2017-08-17 10:27:24.692  INFO 7438 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]

2017-08-17 10:27:24.692  INFO 7438 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]

2017-08-17 10:27:24.983  WARN 7438 --- [           main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Tomcat.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.tomcat.jdbc.pool.DataSource]: 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 an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).

2017-08-17 10:27:24.992  INFO 7438 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]

2017-08-17 10:27:25.054  INFO 7438 --- [           main] utoConfigurationReportLoggingInitializer :

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.

2017-08-17 10:27:25.103 ERROR 7438 --- [           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 an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).

提问者:fqq8080

2017-08-17 10:34

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值