![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
Coyotess
这个作者很懒,什么都没留下…
展开
-
从idea创建自动生成的springboot不能通过tomcat运行的原因及解决
开发工具:idea依赖方式:gradle idea只选择web组件后,自动生成的springboot中的依赖是这样的:dependencies { compile('org.springframework.boot:spring-boot-starter-web') providedRuntime('org.springframework.boot:spring-bo...原创 2018-06-07 09:27:25 · 1608 阅读 · 0 评论 -
第一个springboot项目启动报错Failed to configure a DataSource: 'url' attribute is not specified and no embedde
***************************APPLICATION FAILED TO START***************************Description:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could b...原创 2018-06-10 00:42:00 · 111388 阅读 · 35 评论 -
springboot jpa不自动生成表
我的配置文件是yaml文件在确保jpa的配置是正确的情况下(这是我的配置)yaml文件配置:jpa: hibernate: ddl-auto: update show-sql: trueapplication.properties配置:spring.jpa.properties.hibernate.hbm2ddl.auto=updatehibernate.show_sql=tru...原创 2018-06-10 01:32:10 · 16681 阅读 · 7 评论 -
关于自动生成表hibernate_sequence的问题
在mysql数据库中,使用hibernate自动生成数据表的同时,数据库会自动生成hibernate_sequence表,如果删除该表,就会报错:could not read a hi value - you need to populate the table: hibernate_sequence如果将生成策略改为@GeneratedValue(strategy = Generatio...原创 2019-05-29 13:02:27 · 1698 阅读 · 0 评论