自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 template might not exist or might not be accessible by any of the configured

template might not exist or might not be accessible by any of the configured该错误http响应的是500,后台就报无法解析这种东西.解决方法:就在controller请求的那个方法上面加上注解@ResponseBody@ResponBody的作用将java对象转为json格式的数据,可能就是那个报错说的无法解析吧...

2020-04-06 00:27:05 343

原创 SpringBoot+Layui 打印PDF

1、下载C_Lodop打印插件下载插件官网:http://www.lodop.net/2、pom.xml添加依赖 <dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId> <version>5.5.9&...

2020-04-03 19:28:10 2642 2

原创 Mybatis @Param用和不用的区别

@Param注解是Mybatis用来区分传入的参数对应到你的sql里面例如:public int insertScore(@Param("studentNo") String studentNo, @Param("courseId") String courseId);对应到的sql <insert id="insertScore"> insert into score(...

2020-03-30 18:14:15 1493

原创 Spring Boot+Layui 导出Excel文件

1、pom.xml,添加依赖 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.17</version> </dependency>2、control...

2020-03-30 10:53:18 1330

原创 Spring Boot+Layui 导入Excel文件

1、首先是pom.xml,添加依赖。 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.17</version> </dependency>2、Con...

2020-03-30 10:40:59 1791 2

原创 SpringBoot启动项目报错:Caused by: java.net.BindException: Address already in use: bind

SpringBoot启动项目报错:Caused by: java.net.BindException: Address already in use: bind端口被占用了!解决方式:先打开cmd–>输入netstat -ano 找到本机地址的有8080端口号那栏;查看PID打开任务管理器–详细信息,找到占用端口的pid,结束任务就行...

2020-03-29 17:40:03 399

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除