
spring boot
橙_
这个作者很懒,什么都没留下…
展开
-
Java-SpringBoot Test测试
这里写自定义目录标题@Before public void setUp() { // 独立安装测试. mockMvc = MockMvcBuilders.webAppContextSetup(context).build(); // 集成Web环境测试(此种方式并不会集成真正的web环境,而是通过相应的Mock API进行...原创 2020-03-17 07:34:08 · 852 阅读 · 0 评论 -
spring boot- 注解
@Temporal(TemporalType.TIMESTAMP) 数据库的字段类型有date、time、datetime而Temporal注解的作用就是帮Java的Date类型进行格式化,一共有三种注解值: 第一种:@Temporal(TemporalType.DATE)——>实体类会封装成日期“yyyy-MM-dd”的 Date类型。 第二种:@Temporal(Te...原创 2019-12-31 16:14:09 · 129 阅读 · 0 评论 -
Java- jpa
博文:https://www.cnblogs.com/yy3b2007com/p/9186698.html博文:https://blog.youkuaiyun.com/kai46385076/article/details/79930846原创 2019-08-06 15:49:54 · 663 阅读 · 0 评论 -
springboot- thymeleaf 模板
Springboot的static和templates:https://www.cnblogs.com/wangshen31/p/8727359.html跟棒(๑•̀ㅂ•́)و✧原创 2019-07-01 14:06:31 · 152 阅读 · 0 评论 -
springboot -搭建
Spring Boot(一):入门篇 :http://www.ityouknow.com/springboot/2016/01/06/spring-boot-quick-start.html?tdsourcetag=s_pcqq_aiomsg转载 2019-06-29 14:09:05 · 108 阅读 · 0 评论 -
springboot- Thymeleaf- table模板.
SpringBoot 项目中Bootstrap-table 的使用:https://blog.youkuaiyun.com/yan88888888888888888/article/details/83651507bootstrab table+表格 select可编辑完整实例:https://www.cnblogs.com/zgghb/p/6296096.html...转载 2019-06-26 20:54:35 · 3693 阅读 · 0 评论 -
springboot 启动错误= 2
java.sql.SQLException: Access denied for user ‘root’@‘localhost’ (using password: NO)at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) ~[mysql-connector-java-8.0.15.jar:8...原创 2019-06-18 09:22:35 · 327 阅读 · 0 评论 -
java- springboot- application.properties模板
网上摘抄.是哪里的忘记了= =spring.datasource.url=jdbc\:mysql\://127.0.0.1\:3306/softtool?serverTimezone=GMT#spring.datasource.url=jdbc:mysql://localhost:3306/softtool?serverTimezone=GMT# ?useUnicode\=true&am...原创 2019-06-05 03:50:07 · 443 阅读 · 0 评论 -
springboot 启动错误= 1
这是一个粗心导致得错误.虽然马上就解决了,怕以后糊涂,记录下来 : )org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springf...原创 2019-04-25 10:30:09 · 316 阅读 · 0 评论 -
[springBoot系列]--springBoot注解大全
原博: https://www.cnblogs.com/tanwei81/p/6814022.html一、注解(annotations)列表@SpringBootApplication:包含了@ComponentScan、@Configuration和@EnableAutoConfiguration注解。其中@ComponentScan让spring Boot扫描到Configuration类...转载 2019-02-19 14:52:12 · 104 阅读 · 0 评论