Intellij IDEA快捷键
Ctrl+Alt+O 优化导入的类和包 Alt+Insert 生成代码(如get,set方法,构造函… 继续阅读 Intellij IDEA快捷键
Ctrl+Alt+O 优化导入的类和包 Alt+Insert 生成代码(如get,set方法,构造函… 继续阅读 Intellij IDEA快捷键
dao Dao层:持久层,主要与数据库交互 DAO层首先会创建Dao接口, 接着就可以在配置文件中定… 继续阅读 Springboot层级:entity dao service controller view
application.yml 将文件上传到制定目录去: filePath: D:/Desktop/… 继续阅读 springboot文件上传到本地
string转换成int : Integer.valueOf(“12”) int转换成string … 继续阅读 java string 和int转换
@RequestMapping(“/addUser2”) public String addUser… 继续阅读 springboot通过HttpServletRequest接收请求参数
CommonReturnType.java public class CommonReturnTyp… 继续阅读 springboot文件下载
public class test { public static JSONArray ListTo… 继续阅读 list转JSONArray
//把字符表示的键转成数字 JSONArray arrCtrlParams = JSON.parse… 继续阅读 遍历fastjson的JSONArray
AOP(Aspect Oriented Programming): 面向切面编程,通过预编译方式和运… 继续阅读 AOP面向切面编程
javax.activation.DataSource.getConnection 找不到getCo… 继续阅读 javax.activation.DataSource.getConnection
java.lang.IllegalArgumentException: Invalid charac… 继续阅读 java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
pom.xml <!– 数据库依赖 –> <dependency> &l… 继续阅读 SpringBoot集成JAP框架
create 每次加载hibernate时都删除上一次的生成的表,然后根据bean类重新来生成新表,… 继续阅读 jpa.hibernate.ddl-auto配置说明
pom.xml <dependency> <groupId>org.spri… 继续阅读 SpringBoot集成Redis
pom.xml <!– 数据库依赖 –> <dependency> &l… 继续阅读 SpringBoot集成Druid连接池
报错: java.lang.IllegalStateException: Failed to loa… 继续阅读 Caused by: org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputException: Input length = 1
execute方法:可以用于执行任何SQL语句 update方法:用于执行新增、修改、删除等语句 b… 继续阅读 SpringBoot JdbcTemplate核心方法
@Scheduled(fixedRate = 5000) :上一次开始执行时间点之后5秒再执行 @S… 继续阅读 SpringBoot计划任务注解
在Intellij中点击“File” –>“Project Structure”,看一下“Proj… 继续阅读 Intellij idea 报错:Error : java 不支持发行版本5