上一页 1 ··· 5 6 7 8 9 10 下一页
该文被密码保护。 阅读全文
posted @ 2020-03-25 22:06 Amy清风 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 1.使用 Swagger2 可以减少编写过多的文档,只需要通过代码就能生成文档API,提供给前端人员常方便。 在Java类中添加Swagger的注解即可生成Swagger接口,常用Swagger注解如下:@Api:修饰整个类,描述Controller的作用 @ApiOperation:描述一个类的一 阅读全文
posted @ 2020-03-25 22:02 Amy清风 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 1.移除默认日志 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> <!--排除logging 日志输出的 jar包--> <exclusions 阅读全文
posted @ 2020-03-25 21:47 Amy清风 阅读(1453) 评论(0) 推荐(1) 编辑
摘要: 1.加入依赖 <!-- mysql驱动 --> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.41</version> </dependency> <! 阅读全文
posted @ 2020-03-25 21:41 Amy清风 阅读(1453) 评论(0) 推荐(0) 编辑
摘要: 1.@Autowired注入mapper接口报红线 2.解决方法 然后点击OK就可以 阅读全文
posted @ 2020-03-23 00:42 Amy清风 阅读(3639) 评论(0) 推荐(0) 编辑
摘要: 1.先下载Idea软件 可以去官网下载也可以到百度云下载链接:https://pan.baidu.com/s/1hFpPUrDOuOCUEQnwG8TiAQ 提取码:wxsf 2.下载完软件安装idea软件 3.安装完软件打开软件的安装位置 这是我的安装位置 4.去百度云下载idea激活工具链接:h 阅读全文
posted @ 2020-02-09 19:19 Amy清风 阅读(1907) 评论(0) 推荐(1) 编辑
摘要: 1.数据库结构 2.项目结构 3.pom.xml文件 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> < 阅读全文
posted @ 2019-12-01 00:34 Amy清风 阅读(3758) 评论(0) 推荐(0) 编辑
摘要: 1.Springboot启动正常 2.连接MySQl测试业务逻辑时报下面错误 java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one ti 阅读全文
posted @ 2019-11-28 22:36 Amy清风 阅读(2148) 评论(0) 推荐(0) 编辑
摘要: 1.运行SpringBoot报错 . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) 阅读全文
posted @ 2019-11-28 20:54 Amy清风 阅读(5125) 评论(0) 推荐(1) 编辑
摘要: 1.项目结构 2.在pom文件加入坐标依赖 <!--添加日志依赖 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-logging</artifactId> </d 阅读全文
posted @ 2019-11-27 21:59 Amy清风 阅读(331) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 下一页