Spring Boot + Layui + Spring Data JPA 实现前后端分离下简单增删改查分页操作 1.项目背景 自己搭着玩,写个小demo 2.项目构成 后端:Spring boot 2.3 JDK1.8 数据库:Spring Data JPA MySQL 5.7.31 前端: La ...
分类:
编程语言 时间:
2020-12-28 11:04:17
阅读次数:
0
spring: data: mongodb: database: test (自己创建的库) port: 3717 host: aliyun~.com username: username password: 123456 authentication-database: admin 这里有一个大坑 ...
分类:
数据库 时间:
2020-12-28 11:02:07
阅读次数:
0
从 GitHub 克隆一个项目下发出现了错误: error: unable to create file spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/resources/org/springfram ...
自动装配 Spring Boot大量使用XxxAutoConfiguration来使得许多组件被自动化配置并创建,而这些创建过程又大量使用了Spring的Conditional功能 当我们引入spring-boot-starter-jdbc,Spring Boot启动时会自动扫描所有的XxxAuto ...
分类:
编程语言 时间:
2020-12-25 12:10:29
阅读次数:
0
@(文章目录) 前言 2018年的时候,我写过一篇文章:Jenkins+Jmeter+ant接口自动化框架for Linux学习 但是由于两年了,我自己试了一下也不能使用了。所以趁着周末把这篇文章翻新一下。 下载安装 我们需要下载四个文件 Jenkins——https://jenkins.io/do ...
分类:
其他好文 时间:
2020-12-25 12:06:05
阅读次数:
0
一、拉取 docker pull tomcat 二、启动 需要启动一个tomcat,拷贝conf目录下的文件到宿主机docker run -d --name tomcat -v /home/docker/tomcat/conf:/usr/local/tomcat/conf -v /home/dock ...
分类:
其他好文 时间:
2020-12-25 11:40:36
阅读次数:
0
这个参数是 required 确定在 API 中的参数中是否必须要输出参数。 在默认情况下为 true,你可以设置这个参数为 false。 如果你设置的参数为 true,但是在提交参数的时候没有提交这个参数,你的 API 将会返回一个异常。 考察下面的代码: @GetMapping("/search ...
分类:
编程语言 时间:
2020-12-24 12:46:51
阅读次数:
0
错误: Server Tomcat v8.5 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the ...
分类:
其他好文 时间:
2020-12-24 11:42:44
阅读次数:
0
springboot使用小技巧合集 来源:https://blog.lqdev.cn/2018/08/11/springboot/springboot-tips/ 设置网站图标 原来我们在使用tomcat开发时,设置网站图片时,即icon图标时,一般都是直接替换root包下的favicon.ico替 ...
分类:
编程语言 时间:
2020-12-24 11:35:11
阅读次数:
0
前提配置过jdk 上传Tomcat到Linux并解压 .gz结束的压缩包 tar -zxvf tomcat 解压完配置环境变量 vi /etc/profile 打上文件所在路径 退出并保存 :wq! 启动Tomcat 进入Tomcat的bin目录下: 启动:./startup.sh 停止:./shu ...
分类:
系统相关 时间:
2020-12-23 12:29:41
阅读次数:
0